basedpyright -> pyright
This commit is contained in:
+6
-3
@@ -299,8 +299,8 @@ local function lspsetup()
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
vim.lsp.enable("lua_ls")
|
vim.lsp.enable("lua_ls")
|
||||||
vim.lsp.config["basedpyright"] = {
|
vim.lsp.config["pyright"] = {
|
||||||
cmd = { "basedpyright-langserver", "--stdio" },
|
cmd = { "pyright-langserver", "--stdio", "--threads", "20" },
|
||||||
filetypes = { "python" },
|
filetypes = { "python" },
|
||||||
root_markers = {
|
root_markers = {
|
||||||
"pyproject.toml",
|
"pyproject.toml",
|
||||||
@@ -313,14 +313,17 @@ local function lspsetup()
|
|||||||
settings = {
|
settings = {
|
||||||
python = {
|
python = {
|
||||||
analysis = {
|
analysis = {
|
||||||
|
-- logLevel = "Trace",
|
||||||
autoImportCompletions = false,
|
autoImportCompletions = false,
|
||||||
diagnosticMode = "openFilesOnly",
|
diagnosticMode = "openFilesOnly",
|
||||||
useLibraryCodeForTypes = false,
|
useLibraryCodeForTypes = false,
|
||||||
|
-- logTypeEvaluationTime = true,
|
||||||
|
-- typeEvaluationTimeThreshold = 5000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
vim.lsp.enable("basedpyright")
|
vim.lsp.enable("pyright")
|
||||||
vim.lsp.config["html"] = {
|
vim.lsp.config["html"] = {
|
||||||
cmd = { "vscode-html-language-server", "--stdio" },
|
cmd = { "vscode-html-language-server", "--stdio" },
|
||||||
filetypes = { "html" },
|
filetypes = { "html" },
|
||||||
|
|||||||
Reference in New Issue
Block a user