This commit is contained in:
2026-01-01 14:37:34 -05:00
parent 00ca1afcad
commit 678ab4af8b
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
---@type vim.lsp.Config
return {
cmd = { 'basedpyright', '--stdio' },
settings = {
python = {
analysis = {
typeCheckingMode = vim.env.TYPE_CHECKING_MODE or 'basic',
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
filetypes = { 'python' },
root_markers = { 'pyproject.toml', 'setup.py', 'requirements.txt', '.git' },
}

View File

@@ -6,6 +6,6 @@ return {
globPattern = vim.env.GLOB_PATTERN or '*@(.sh|.inc|.bash|.command)', globPattern = vim.env.GLOB_PATTERN or '*@(.sh|.inc|.bash|.command)',
}, },
}, },
filetypes = { 'bash', 'sh' }, filetypes = { 'bash', 'sh', 'zsh' },
root_markers = { '.git' }, root_markers = { '.git' },
} }