-- Python --[[ Installation uv tool install pyright --]] return { cmd = { "pyright-langserver", "--stdio" }, filetypes = { "python" }, root_markers = { ".python_version", "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", "pyrightconfig.json", ".git", }, settings = { python = { analysis = { autoSearchPaths = true, useLibraryCodeForTypes = true, diagnosticMode = "openFilesOnly", }, }, }, }