quandoan
This commit is contained in:
parent
d350db2449
commit
ee1be1a29a
6 changed files with 258 additions and 11 deletions
12
lua/custom/setups/lsp.lua
Normal file
12
lua/custom/setups/lsp.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue