nvim-config11/lsp/pyright.lua

15 lines
347 B
Lua
Raw Normal View History

2025-03-27 08:18:20 +00:00
return {
cmd = { "pyright-langserver", "--stdio" },
filetypes = { "python" },
settings = {
python = {
analysis = {
autoSearchPaths = true,
diagnosticMode = "openFilesOnly",
useLibraryCodeForTypes = true
}
}
},
single_file_support = true
}