diff --git a/common/.config/nvim/lsp/basedpyright.lua b/common/.config/nvim/lsp/basedpyright.lua new file mode 100644 index 0000000..bfee7b9 --- /dev/null +++ b/common/.config/nvim/lsp/basedpyright.lua @@ -0,0 +1,16 @@ +return { + cmd = { "basedpyright" }, + filetypes = { "python" }, + settings = { + basedpyright = { + analysis = { + typeCheckingMode = "basic", + diagnosticMode = "openFilesOnly", + autoSearchPaths = true, + useLibraryCodeForTypes = true, + }, + disableOrganizeImports = true, -- let ruff do it + }, + python = { analysis = { ignore = { "*" } } }, -- let ruff do it + }, +}