nvim: Add vuels

This commit is contained in:
Oliver Davies 2021-08-19 15:27:33 +01:00
parent 3b1ad2cc25
commit ab321e7697

View file

@ -29,7 +29,11 @@ lspconfig.intelephense.setup{
filetypes = { "install", "inc", "module", "php", "test", "theme" }, filetypes = { "install", "inc", "module", "php", "test", "theme" },
} }
lspconfig.tsserver.setup(default_config) lspconfig.tsserver.setup{
filetypes = { "js", "jsx", "vue" },
}
require'lspconfig'.vuels.setup{}
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, { vim.lsp.diagnostic.on_publish_diagnostics, {