This commit is contained in:
ksyasuda 2023-08-15 04:18:31 -07:00
parent 6e5679d255
commit f0b7e62b92
No known key found for this signature in database
3 changed files with 17 additions and 4 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
require("neodev").setup({
-- add any options here, or leave empty to use the default settings
})

View File

@ -216,10 +216,18 @@ local servers = {
'dotls', 'dockerls', 'html', 'cssls', 'lua_ls'
}
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
-- on_attach = my_custom_on_attach,
capabilities = capabilities
}
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",