#1700 - Mention how to work around the completeopt bug in the documentation

This commit is contained in:
w0rp 2018-07-31 20:34:37 +01:00
parent 16d0c52d24
commit 399a0d3c98
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 10 additions and 0 deletions

View File

@ -669,6 +669,16 @@ items can be controlled with |g:ale_completion_max_suggestions|.
If you don't like some of the suggestions you see, you can filter them out
with |g:ale_completion_excluded_words| or |b:ale_completion_excluded_words|.
*ale-completion-completopt-bug*
ALE implements completion as you type by temporarily adjusting |completeopt|
before opening the omnicomplete menu with <C-x><C-o>. In some versions of Vim,
the value set for the option will not be respected. If you experience issues
with Vim automatically inserting text while you type, set the following option
in vimrc, and your issues should go away. >
set completeopt=menu,menuone,preview,noselect,noinsert
<
-------------------------------------------------------------------------------
5.2 Go To Definition *ale-go-to-definition*