mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
typescript-tools instead of vtsls
This commit is contained in:
parent
92ed9fd5fb
commit
0175469f55
2 changed files with 22 additions and 8 deletions
|
|
@ -1,7 +0,0 @@
|
|||
-- return {
|
||||
-- "pmizio/typescript-tools.nvim",
|
||||
-- dependencies = { "nvim-lua/plenary.nvim" },
|
||||
-- event = { "BufReadPre", "BufNewFile" },
|
||||
-- ft = { "typescript", "javascript" },
|
||||
-- opts = {},
|
||||
-- }
|
||||
|
|
@ -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 = {},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue