feat(neovim): tsserver -> ts_ls; make ts_ls only work with a package.json; add denols
This commit is contained in:
parent
35303bc8e8
commit
6f7fc67600
|
@ -61,6 +61,7 @@ in
|
|||
"cmake",
|
||||
"csharp_ls",
|
||||
"cssls",
|
||||
"denols",
|
||||
"eslint",
|
||||
"html",
|
||||
"jsonls",
|
||||
|
@ -70,7 +71,7 @@ in
|
|||
"rust_analyzer",
|
||||
"svelte",
|
||||
"taplo",
|
||||
"tsserver",
|
||||
"ts_ls",
|
||||
"volar",
|
||||
"yamlls",
|
||||
},
|
||||
|
@ -93,7 +94,7 @@ in
|
|||
},
|
||||
},
|
||||
},
|
||||
tsserver = {
|
||||
ts_ls = {
|
||||
init_options = {
|
||||
plugins = {
|
||||
{
|
||||
|
@ -108,6 +109,7 @@ in
|
|||
"typescript",
|
||||
"vue",
|
||||
},
|
||||
root_dir = require("lspconfig.util").root_pattern("package.json"),
|
||||
},
|
||||
},
|
||||
-- customize how language servers are attached
|
||||
|
|
Loading…
Reference in a new issue