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

13 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,
},
},
},
}