nvim: change lsp/mason tsserver to ts_ls
This commit is contained in:
parent
eaea595e0c
commit
90d13a74ff
2 changed files with 3 additions and 3 deletions
|
@ -134,11 +134,11 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["tsserver"] = function ()
|
["ts_ls"] = function ()
|
||||||
local mason_registry = require 'mason-registry'
|
local mason_registry = require 'mason-registry'
|
||||||
local vue_language_server_path = mason_registry.get_package('vue-language-server'):get_install_path()
|
local vue_language_server_path = mason_registry.get_package('vue-language-server'):get_install_path()
|
||||||
|
|
||||||
lspconfig['tsserver'].setup({
|
lspconfig['ts_ls'].setup({
|
||||||
init_options = {
|
init_options = {
|
||||||
plugins = {
|
plugins = {
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ return {
|
||||||
"pyright",
|
"pyright",
|
||||||
"svelte",
|
"svelte",
|
||||||
"tailwindcss",
|
"tailwindcss",
|
||||||
"tsserver",
|
"ts_ls",
|
||||||
"rust_analyzer",
|
"rust_analyzer",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue