26 lines
474 B
Lua
26 lines
474 B
Lua
return {
|
|
cmd = { 'basedpyright-langserver', '--stdio' },
|
|
filetypes = { 'python' },
|
|
root_markers = {
|
|
'pyrightconfig.json',
|
|
'ya.make',
|
|
'pyproject.toml',
|
|
'setup.py',
|
|
'setup.cfg',
|
|
'requirements.txt',
|
|
'Pipfile',
|
|
'.git',
|
|
},
|
|
settings = {
|
|
python = {
|
|
analysis = {
|
|
autoSearchPaths = false,
|
|
useLibraryCodeForTypes = true,
|
|
diagnosticMode = 'openFilesOnly',
|
|
include = {
|
|
}
|
|
},
|
|
},
|
|
},
|
|
}
|