nvim-lua.kickstart.nvim/lua/custom/setups/lsp.lua

13 lines
319 B
Lua
Raw Normal View History

2025-05-06 16:29:55 +07:00
require('lspconfig').pyright.setup {
settings = {
python = {
analysis = {
typeCheckingMode = 'off', -- disables type checking
diagnosticMode = 'openFilesOnly', -- optional: only analyze open files
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
}