return { -- File types that should automatically attach this LSP server filetypes = { "python" }, -- Root directory markers - LSP will search for these files/directories -- to determine the project root. Nested arrays indicate equal priority. -- The first match wins within each priority level. root_markers = { "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "pyrightconfig.json", ".git", ".hg", }, -- Server-specific settings (varies by language server) -- Check your language server's documentation for available options settings = { python = { analysis = { autoSearchPaths = true, useLibraryCodeForTypes = true, }, }, }, }