- Notifications
You must be signed in to change notification settings - Fork220
Go-to definition across modules / packages#420
metalalive started this conversation inGeneral
-
Hi, I have a Python application where the modules (files) are located in different hierarchical packages (directories). How to properly configure Currently go-to definition works well with standard library and 3rd-party packages of specific virtual environment, but not the modules within the same application. Here is my Lua script (for NeoVim) so far : localdefault_lsp=require("lspconfig")default_lsp.pylsp.setup({settings= {pylsp= {plugins= {maxLineLength=250,jedi_completion= {include_class_objects=true,include_function_objects=true },jedi= {environment=os.getenv("VENV_PATH_PYLSP") }-- where OS env vars kick in } } } }) |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 0 comments
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment