ts and vue lsp

This commit is contained in:
Adithya 2024-02-24 19:22:54 +05:30
parent 79e84c161f
commit b94f9974b3
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -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", "<F2>", vim.diagnostic.goto_prev)
vim.keymap.set("n", "<F3>", vim.diagnostic.goto_next)