auto-config: set completeopt only if it's the default

The setting is also moved from "ftplugin" to "plugin", which allows for
easier customization, e.g. via a FileType plugin.

Ref: https://github.com/davidhalter/jedi-vim/issues/374#issuecomment-97621368
This commit is contained in:
Daniel Hahler
2015-04-30 02:33:39 +02:00
parent 78ac52a26e
commit 83d398bc5d
4 changed files with 19 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ you disable the auto-initialization in your ``.vimrc``:
let g:jedi#auto_initialization = 0
There are also some VIM options (like ``completeopt`` and key defaults) which
are automatically initialized, but you can change all of them:
are automatically initialized, but you can skip this:
.. code-block:: vim