From b94f9974b3e3f6b5d6f6f1f23496327aa61d6188 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 24 Feb 2024 19:22:54 +0530 Subject: [PATCH] ts and vue lsp --- after/plugin/lsp.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index cd8ac09..8032e6e 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -66,6 +66,14 @@ lspconfig.rust_analyzer.setup({ capabilities = lsp_capabilities, }) +lspconfig.tsserver.setup({ + capabilities = lsp_capabilities, +}) + +lspconfig.volar.setup({ + capabilities = lsp_capabilities, +}) + vim.keymap.set("n", "", vim.diagnostic.goto_prev) vim.keymap.set("n", "", vim.diagnostic.goto_next)