nvim-snappy/lsp/basedpyright.lua

16 lines
324 B
Lua

return {
cmd = { 'basedpyright-langserver', '--stdio' },
filetypes = { 'python' },
root_markers = { 'pyproject.toml' },
settings = {
basedpyright = {
disableOrganizeImports = true,
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
diagnosticMode = 'openFilesOnly',
},
},
},
}