LSP: Rollback to pyright
This commit is contained in:
parent
ca3b32d261
commit
92e6a5dc1f
1 changed files with 25 additions and 18 deletions
|
|
@ -10,8 +10,6 @@ end
|
||||||
|
|
||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
ty = {
|
|
||||||
},
|
|
||||||
gopls = {
|
gopls = {
|
||||||
settings = {
|
settings = {
|
||||||
gopls = {
|
gopls = {
|
||||||
|
|
@ -35,22 +33,22 @@ local servers = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- pyright = {
|
pyright = {
|
||||||
-- settings = {
|
settings = {
|
||||||
-- pyright = {
|
pyright = {
|
||||||
-- -- Using Ruff's import organizer
|
-- Using Ruff's import organizer
|
||||||
-- disableOrganizeImports = true,
|
disableOrganizeImports = true,
|
||||||
-- },
|
},
|
||||||
-- python = {
|
python = {
|
||||||
-- analysis = {
|
analysis = {
|
||||||
-- -- Ignore all files for analysis to exclusively use Ruff for linting
|
-- Ignore all files for analysis to exclusively use Ruff for linting
|
||||||
-- -- ignore = { "*" },
|
-- ignore = { "*" },
|
||||||
-- diagnosticMode = "off",
|
diagnosticMode = "off",
|
||||||
-- -- typeCheckingMode = "off",
|
-- typeCheckingMode = "off",
|
||||||
-- },
|
},
|
||||||
-- },
|
},
|
||||||
-- },
|
},
|
||||||
-- },
|
},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -72,6 +70,15 @@ local servers = {
|
||||||
"--offset-encoding=utf-16",
|
"--offset-encoding=utf-16",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
html = {
|
||||||
|
filetypes = { "html", "gohtml" },
|
||||||
|
},
|
||||||
|
eslint = {
|
||||||
|
filetypes = { "javascript", "typescript", "html", "gohtml" },
|
||||||
|
},
|
||||||
|
ts_ls = {
|
||||||
|
filetypes = { "javascript", "typescript" },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local servers_to_install = vim.tbl_filter(function(key)
|
local servers_to_install = vim.tbl_filter(function(key)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue