This commit is contained in:
alice-vu-163 2025-05-06 16:29:55 +07:00
parent d350db2449
commit ee1be1a29a
6 changed files with 258 additions and 11 deletions

12
lua/custom/setups/lsp.lua Normal file
View file

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