typescript-tools instead of vtsls

This commit is contained in:
Thomas Smallwood 2025-11-22 22:53:10 +00:00
parent 92ed9fd5fb
commit 0175469f55
No known key found for this signature in database
2 changed files with 22 additions and 8 deletions

View file

@ -1,7 +0,0 @@
-- return {
-- "pmizio/typescript-tools.nvim",
-- dependencies = { "nvim-lua/plenary.nvim" },
-- event = { "BufReadPre", "BufNewFile" },
-- ft = { "typescript", "javascript" },
-- opts = {},
-- }

View file

@ -1,3 +1,24 @@
return {
{ import = "lazyvim.plugins.extras.lang.typescript" },
-- disable vtsls
{
"neovim/nvim-lspconfig",
opts = {
servers = {
vtsls = false,
tsserver = false,
},
},
},
-- enable typescript-tools
{
"pmizio/typescript-tools.nvim",
ft = {
"typescript",
"typescriptreact",
"javascript",
"javascriptreact",
},
opts = {},
},
}