feat: add typescript lsp
This commit is contained in:
parent
83575c8171
commit
9ea5dfce4b
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue