devconf/.config/nvim/init.vim

16 lines
361 B
VimL
Raw Normal View History

source ~/.vimrc
lua << EOF
local nvim_lsp = require('lspconfig')
local on_attach = require'completion'.on_attach
local servers = { "html", "clangd", "vimls", "vuels", "phpactor", "rust_analyzer", "tsserver" }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
on_attach = on_attach,
flags = {
debounce_text_changes = 150,
}
}
end
EOF