feat: add typescript lsp

This commit is contained in:
Fabio Montefuscolo 2024-09-17 10:25:55 +02:00
parent 83575c8171
commit 9ea5dfce4b
Signed by: fabiomontefuscolo
GPG key ID: 7598676DAE19B4EF

View file

@ -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,