glepnir / nvim Goto Github PK
View Code? Open in Web Editor NEWneovim configuration written in lua
License: MIT License
neovim configuration written in lua
License: MIT License
Failed to update lukas-reineke/indent-blankline.nvim/lua
配置文件里面branch 做了,应该从lua 改成master
desc “Recently opened files” shortcut is "S-fo"
Hello there!
I wanted to know really badly what is the colorscheme you used in the screenshot in the repo. It looks gorgeous!
Thanks in advance and sorry for opening an issue just for that.
Hi, Thank you for the awesome package.
Could you help me fix it with galaxy line
ui['~/workstation/vim/galaxyline.nvim'] = {
branch = 'main',
config = conf.galaxyline,
requires = {'kyazdani42/nvim-web-devicons'}
}
Hi, check at this file ... line 55 Telescope command... https://github.com/glepnir/nvim/blob/main/lua/keymap/init.lua .. isn't it git_files????
这个配置很好,但我拷过来后报这个错:
E5113: Error while calling lua chunk: Vim(call):E474: UTF-8 string contains code point which belongs to a surrogate pair: ',
prompt_position = 'top',
sorting_strategy = 'ascending',
},
extensions = {
fzy_native = {
override_generic_sorter = false,
override_file_sorter = true,
}
}
}
require('telescope').load_extension('fzy_native')
require'telescope'.load_extension('dotfiles')
require'telescope'.load_extension('gosource')
EOF
需要安装什么环境呢?
Hi 我参考了你简化版的dope 和你本身的nvim配置 但是我好像没发现你有插件可以自动安装需要的lsp服务 比如gopls
研究了一下你LSP 的配置 好像就用了2个插件
neovim/nvim-lspconfig
nvimdev/lspsaga.nvim
好像没用到 nvim-cmp
想问一下你是怎么实现自动补全的功能呢。
特别要引入多个补全源的时候
比如cmp-nvim-lsp/cmp-path/cmp-buffer
Copilot
Run PackerInstall
Error detected while processing function 24_loaded_dashboard[3]..dashboard#instance[73]..28_print_plugins_message:
line 18:
E5108: Error executing lua vim/shared.lua:0: Expected table, got nil
stack traceback:
[C]: in function 'assert'
vim/shared.lua: in function 'tbl_keys'
[string "luaeval()"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing function 24_loaded_dashboard[3]..dashboard#instance[73]..dashboard#utils#draw_center:
line 1:
E896: Argument of map() must be a List, Dictionary or Blob
Press ENTER or type command to continue
Error detected while processing function 24_loaded_dashboard[3]..dashboard#instance[73]..dashboard#utils#draw_center:
line 1:
E712: Argument of max() must be a List or Dictionary
Press ENTER or type command to continue
使用配置出现上述错误,查了网上信息。有类似问题的反馈原因是
vim.g.dashboard_custom_section 的配置不规范导致https://github.com/glepnir/dashboard-nvim/issues/106
两个问题:
1、是否跟上面的链接问题是一样的‘?
2、没有在nvim配置里面找到在哪里修改
when trying to use the config, it gives me a bunch of errors for plugins that aren't installed.
do i have to install them myself?
Did you put your other private dotfiles?
Will they become public again?
I love your tmux config among other things 😅. Sorry for the contact method...
how do you make the .cat file for the header of the dash board?
It looks like a CursorHold
autocmd. What is that behavior coming from?
What tabline plugin do you use in the image? I can't figure it out?
Hi, @glepnir Is there a way to add PackerSnapshot
, PackerSnapshotRollback
, PackerSnapshotDelete
to pack.lua
?
Thanks in advance!
To stay ahead of the curve and be an industry standard, it would be good to change our default branch from master
to main
.
Hi, 很感谢您辛苦的工作
我今天拉取了最新的main, 但是安装时发现有4个地方使用了本地目录 ~/Workspace
这个我在github搜索了一下, 也是不存在的
❯ rg "~/Workspace"
lua/modules/tools/plugins.lua
25:package {'~/Workspace/dogic-nvim/'}
请问有什么好方式可以使我们安装的时候, 自动切换到 github 上的吗, 要不每次更新代码后还需要手动更新这几个
diff --git a/lua/modules/completion/plugins.lua b/lua/modules/completion/plugins.lua
index 913ee7c..7c22cb4 100644
--- a/lua/modules/completion/plugins.lua
+++ b/lua/modules/completion/plugins.lua
@@ -6,7 +6,7 @@ package {'neovim/nvim-lspconfig',
config = conf.nvim_lsp,
}
-package {'~/Workspace/lspsaga.nvim', cmd = 'Lspsaga',}
+package {'glepnir/lspsaga.nvim', cmd = 'Lspsaga'}
package {'hrsh7th/nvim-cmp',
event = 'InsertEnter',
diff --git a/lua/modules/ui/plugins.lua b/lua/modules/ui/plugins.lua
index 2d6bec3..e168307 100644
--- a/lua/modules/ui/plugins.lua
+++ b/lua/modules/ui/plugins.lua
@@ -1,9 +1,9 @@
local package = require('core.pack').package
local conf = require('modules.ui.config')
-package {'~/Workspace/zephyr-nvim',config = conf.zephyr }
+package {'glepnir/zephyr-nvim',config = conf.zephyr }
-package {'~/Workspace/dashboard-nvim', config = conf.dashboard }
+package {'glepnir/dashboard-nvim', config = conf.dashboard }
package {'glepnir/galaxyline.nvim',
branch = 'main',
多谢多谢!
Hi. I'm using dashboard only for the header, without any navigation. This is my config:
dashboard.custom_footer = { [[]] }
dashboard.custom_center = { {} }
The first time dashboard opens without an error, but after switching a buffer and running :Dashboard
i get the following error:
Error executing Lua callback: ...share/nvim/plugged/dashboard-nvim/lua/dashboard/init.lua:342: attempt to perform arithmetic on a nil value
stack traceback:
...share/nvim/plugged/dashboard-nvim/lua/dashboard/init.lua:342: in function 'load_from_cache'
...share/nvim/plugged/dashboard-nvim/lua/dashboard/init.lua:390: in function 'instance'
...l/share/nvim/plugged/dashboard-nvim/plugin/dashboard.lua:63: in function <...l/share/nvim/plugged/dashboard-nvim/plugin/dashboard.lua:62>
Separate issue, but related to this: since I don't have any need for navigation with hjkl
I want to map l
to edit my lua init file, but it doesn't look possible:
au FileType dashboard nnoremap <buffer> <silent>l :e ~/.config/nvim/lua/init.lua<CR>
<-- this doesn't work in the new version, but it used to work fine in the past.
首先多谢大神!我觉得这个配置真是又快又好!
在 windows 下安装最新的代码(db14cd7fcdae24b45d42dd87e764f964f837a2fc)成功,但发现有几个现象,不知是不是问题,以及是什么缘故。
Line 31 in 0f99c07
otherwise undofile
wont work.
Hello Raphael, I am fan of your works. That's why I was following your profile for long time. I see you was inactive in GitHub for a long time. Everything good ? Everything was okay ? Glad to see you again.
我mac2019 16寸,big sur,没有任何nvim配置,刚安装启动就得40多ms,全配置完得120ms多了。
即使禁用内置插件,--startuptime日志也会source他们,花10多ms
When running time neovim +q
, the fastest result I get is
real 0m0,160s
user 0m0,123s
sys 0m0,037s
Only reason I was wondering is because I was looking to speed up my own config as well, but even without any lazy loading and a decently long plugin list, its still a tad bit faster than yours
After run make install
I received error
E5113: Error while calling lua chunk: Vim(call):E474: UTF-8 string contains code point which belongs to a surrogate pair: <d83c><df54> ',
prompt_position = 'top',
sorting_strategy = 'ascending',
file_previewer = require'telescope.previewers'.vim_buffer_cat.new
},
extensions = {
fzy_native = {
override_generic_sorter = false,
override_file_sorter = true,
}
}
}
require('telescope').load_extension('fzy_native')
require'telescope'.load_extension('dotfiles')
require'telescope'.load_extension('gosource')
EOF
After that, open nvim also appear this error
And i can't use any keybinding
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.