From 04c708cbfc6f07e50491c2af33eea4c40e71354a Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 2 Jan 2021 23:39:02 +0100 Subject: [PATCH] Useful examples for environment_path --- README.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index bca0be7..2c73c84 100644 --- a/README.rst +++ b/README.rst @@ -208,11 +208,18 @@ get more information. If you set them to ``""``, they are not assigned. let g:jedi#completions_command = "" let g:jedi#rename_command = "r" -A few examples of setting up your project: +An example for setting up your project: .. code-block:: vim - let g:jedi#environment_path = "d" + let g:jedi#environment_path = "/usr/bin/python3.9" + +jedi-vim tries its best to guess your virtual env. If you want to work with a +specific virtual environment however, you can point jedi-vim towards it: + +.. code-block:: vim + + let g:jedi#environment_path = "venv" Finally, if you don't want completion, but all the other features, use: