.
This commit is contained in:
1 parent
c3bf228511
commit
94c85d4d33
4 files changed
+86
-26
No files matched your search
@@ -1,10 +1,34 @@
|
||||
-- LSP Server to use for Python.
|
||||
-- Set to "basedpyright" to use basedpyright instead of pyright.
|
||||
vim.g.lazyvim_python_lsp = "basedpyright"
|
||||
|
||||
return {
|
||||
{ import = "lazyvim.plugins.extras.lang.python" },
|
||||
{ import = "lazyvim.plugins.extras.lang.python-semshi" },
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
---@type lspconfig.options.basedpyright
|
||||
basedpyright = {
|
||||
settings = {
|
||||
basedpyright = {
|
||||
analysis = {
|
||||
diagnosticSeverityOverrides = {
|
||||
reportUnusedCallResult = "information",
|
||||
reportUnusedExpression = "information",
|
||||
reportUnknownMemberType = "none",
|
||||
reportUnknownLambdaType = "none",
|
||||
reportUnknownParameterType = "none",
|
||||
reportMissingParameterType = "none",
|
||||
reportUnknownVariableType = "none",
|
||||
reportUnknownArgumentType = "none",
|
||||
reportAny = "none",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
---@type lspconfig.options.pyright
|
||||
pyright = {
|
||||
settings = {
|
||||
verboseOutput = true,
|
||||
|
||||
Reference in new issue
Block a user