refactor(nvim): improve pyright config
This commit is contained in:
parent
6e0aaf7e33
commit
cea7fd6e0b
@ -332,6 +332,12 @@ return {
|
||||
|
||||
-- NOTE: PYTHON LSP
|
||||
lspconfig.pyright.setup({
|
||||
python = {
|
||||
analysis = {
|
||||
diagnosticMode = "workspace",
|
||||
typeCheckingMode = "strict"
|
||||
}
|
||||
},
|
||||
capabilities = lsp_capabilities,
|
||||
on_attach = on_attach
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user