diff options
author | Francisco Suárez <[email protected]> | 2021-05-03 15:37:12 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-03 16:37:12 -0400 |
commit | 3adcfdc0346546c102c370aa12549fafe2be5cb8 (patch) | |
tree | cddeb2eae47ec933149b416b61b72bb0a103707c /lua/lsp/python-ls.lua | |
parent | 2ca5944956fe4d7f6a3855575402cc8f303b72a0 (diff) |
✨ Python analysis options (pyright) (#352)
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 + } + } } } |