Files
dotfiles/nvim/.config/nvim/lsp/pyright.lua
vx-clutch f05a64f1eb save
2026-01-01 15:10:57 -05:00

16 lines
418 B
Lua

---@type vim.lsp.Config
return {
cmd = { 'pyright-langserver', '--stdio' },
settings = {
python = {
analysis = {
typeCheckingMode = 'basic',
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
filetypes = { 'python' },
root_markers = { 'pyproject.toml', 'setup.py', 'requirements.txt', '.git' },
}