update
This commit is contained in:
parent
6e5679d255
commit
f0b7e62b92
2
init.vim
2
init.vim
@ -44,6 +44,8 @@ source ~/.config/nvim/plugin-confs/nvim-dap-ui.lua
|
||||
" source ~/.config/nvim/plugin-confs/lsp-signature.lua
|
||||
" source ~/.config/nvim/plugin-confs/nvim-docs-view.lua
|
||||
|
||||
source ~/.config/nvim/plugin-confs/neodev.lua
|
||||
|
||||
" nvim and vim plugins
|
||||
source ~/.vim/plugin-confs/floaterm.vim
|
||||
source ~/.vim/plugin-confs/fzf.vim
|
||||
|
3
plugin-confs/neodev.lua
Normal file
3
plugin-confs/neodev.lua
Normal file
@ -0,0 +1,3 @@
|
||||
require("neodev").setup({
|
||||
-- add any options here, or leave empty to use the default settings
|
||||
})
|
@ -216,10 +216,18 @@ local servers = {
|
||||
'dotls', 'dockerls', 'html', 'cssls', 'lua_ls'
|
||||
}
|
||||
for _, lsp in ipairs(servers) do
|
||||
if lsp == 'lua_ls' then
|
||||
lspconfig[lsp].setup {
|
||||
-- on_attach = my_custom_on_attach,
|
||||
capabilities = capabilities,
|
||||
callSnippet = "Replace"
|
||||
}
|
||||
else
|
||||
lspconfig[lsp].setup {
|
||||
-- on_attach = my_custom_on_attach,
|
||||
capabilities = capabilities
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
cmp.event:on("menu_opened",
|
||||
|
Loading…
Reference in New Issue
Block a user