From 9ea5dfce4bc30cd4e1f19faa7ead0105f338eea9 Mon Sep 17 00:00:00 2001 From: Fabio Montefuscolo Date: Tue, 17 Sep 2024 10:25:55 +0200 Subject: [PATCH] feat: add typescript lsp --- configs/lspconfig.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/lspconfig.lua b/configs/lspconfig.lua index 2d9c993..054c635 100644 --- a/configs/lspconfig.lua +++ b/configs/lspconfig.lua @@ -5,6 +5,12 @@ local capabilities = config.capabilities local lspconfig = require("lspconfig") +lspconfig.tsserver.setup({ + on_attach = on_attach, + capabilities = capabilities, + filetypes = {"typescript"}, +}) + lspconfig.pyright.setup({ on_attach = on_attach, capabilities = capabilities,