nvim: change lsp/mason tsserver to ts_ls

This commit is contained in:
Mark Riedesel 2024-10-15 08:18:40 -05:00
parent eaea595e0c
commit 90d13a74ff
2 changed files with 3 additions and 3 deletions

View file

@ -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 = {
{ {

View file

@ -38,7 +38,7 @@ return {
"pyright", "pyright",
"svelte", "svelte",
"tailwindcss", "tailwindcss",
"tsserver", "ts_ls",
"rust_analyzer", "rust_analyzer",
}, },
}) })