From 32a1593d104d9f3f4ff857c7e4e633002be35e20 Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 24 Aug 2013 21:27:06 +0430 Subject: [PATCH] completions_enable documenation --- README.rst | 7 +++++++ doc/jedi-vim.txt | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/README.rst b/README.rst index 1525ae1..0e65e13 100644 --- a/README.rst +++ b/README.rst @@ -133,6 +133,13 @@ get more information. If you set them to ``""``, they are not assigned. let g:jedi#show_call_signatures = "1" +Finally, if you don't want completion, but all the other features, use: + +.. code-block:: vim + + let g:jedi#completions_enabled = 0 + + Testing ======= diff --git a/doc/jedi-vim.txt b/doc/jedi-vim.txt index 5b33187..c5ad8d6 100644 --- a/doc/jedi-vim.txt +++ b/doc/jedi-vim.txt @@ -36,6 +36,7 @@ Contents *jedi-vim-contents* 6.6. show_call_signatures |g:jedi#show_call_signatures| 6.7. use_tabs_not_buffers |g:jedi#use_tabs_not_buffers| 6.8. squelch_py_warning |g:jedi#squelch_py_warning| + 6.9. completions_enable |g:jedi#completions_enable| 7. Testing |jedi-vim-testing| 8. Contributing |jedi-vim-contributing| 9. License |jedi-vim-license| @@ -383,6 +384,16 @@ effect and aborts loading itself. Set this to 1 to suppress that warning. Options: 0 or 1 Default: 0 (Warning is shown) +------------------------------------------------------------------------------ +6.9. `g:jedi#completions_enable` *g:jedi#completions_enable* + +If you don't want Jedi completion, but all the other features, you can disable +it in favor of another completion engine (that probably also uses Jedi, like +YCM). + +Options: 0 or 1 +Default: 1 + ============================================================================== 7. Testing *jedi-vim-testing*