diff options
Diffstat (limited to 'lua/lsp/python-ls.lua')
-rw-r--r-- | lua/lsp/python-ls.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lua/lsp/python-ls.lua b/lua/lsp/python-ls.lua index 8cc8b222..f9af265e 100644 --- a/lua/lsp/python-ls.lua +++ b/lua/lsp/python-ls.lua @@ -8,7 +8,15 @@ require'lspconfig'.pyright.setup { signs = O.python.diagnostics.signs, underline = O.python.diagnostics.underline, update_in_insert = true - }) + }, + settings = { + python = { + analysis = { + typeCheckingMode = O.python.analysis.type_checking, + autoSearchPaths = O.python.analysis.auto_search_paths, + useLibraryCodeForTypes = O.python.analysis.use_library_code_types + } + } } } |