nvim-lua.kickstart.nvim/lua/custom/setups/lsp.lua
alice-vu-163 ee1be1a29a quandoan
2025-05-06 16:29:55 +07:00

12 lines
319 B
Lua

require('lspconfig').pyright.setup {
settings = {
python = {
analysis = {
typeCheckingMode = 'off', -- disables type checking
diagnosticMode = 'openFilesOnly', -- optional: only analyze open files
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
}