mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Migrate from tsserver to ts_ls
This commit is contained in:
@@ -60,12 +60,12 @@ return {
|
||||
cs = { "omnisharp" },
|
||||
python = { "pyright" },
|
||||
nix = { "nil_ls" },
|
||||
typescript = { "tsserver" },
|
||||
javascript = { "tsserver" },
|
||||
jsx = { "tsserver" },
|
||||
tsx = { "tsserver" },
|
||||
javascriptreact = { "tsserver" },
|
||||
typescriptreact = { "tsserver" },
|
||||
typescript = { "ts_ls" },
|
||||
javascript = { "ts_ls" },
|
||||
jsx = { "ts_ls" },
|
||||
tsx = { "ts_ls" },
|
||||
javascriptreact = { "ts_ls" },
|
||||
typescriptreact = { "ts_ls" },
|
||||
go = { "gopls" },
|
||||
json = { "jsonls" },
|
||||
yaml = { "yamlls" },
|
||||
@@ -92,8 +92,8 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
tsserver = {
|
||||
root_dir = lspconfig.util.root_pattern("yarn.lock", "package-lock.json", ".git"),
|
||||
ts_ls = {
|
||||
root_dir = lspconfig.util.root_pattern("yarn.lock", "package-lock.json", "bun.lockb", ".git"),
|
||||
single_file_support = false,
|
||||
commands = {
|
||||
OrganizeImports = {
|
||||
|
||||
Reference in New Issue
Block a user