nvim-config11/lsp/pyright.lua

14 lines
347 B
Lua

return {
cmd = { "pyright-langserver", "--stdio" },
filetypes = { "python" },
settings = {
python = {
analysis = {
autoSearchPaths = true,
diagnosticMode = "openFilesOnly",
useLibraryCodeForTypes = true
}
}
},
single_file_support = true
}