nvim/lua/user/lsp_servers/pyright.lua
2025-01-15 23:20:30 +05:30

15 lines
278 B
Lua

local lspconfig = require("lspconfig")
lspconfig.pyright.setup({
on_attach = function(client, bufnr)
-- Custom keymaps and commands for pyright
end,
settings = {
python = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
})