vim.lsp.config("pyright", { on_attach = function(client, bufnr) -- Custom keymaps and commands for pyright end, settings = { python = { analysis = { autoSearchPaths = true, useLibraryCodeForTypes = true, }, }, }, })