nvim-snappy/lsp/basedpyright.lua

16 lines
324 B
Lua
Raw Normal View History

2025-02-12 11:49:02 +01:00
return {
cmd = { 'basedpyright-langserver', '--stdio' },
filetypes = { 'python' },
root_markers = { "pyproject.toml" },
settings = {
basedpyright = {
disableOrganizeImports = true,
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
diagnosticMode = 'openFilesOnly',
},
},
},
}