From 399a0d3c988381d2436d066e1fe74ef688947f28 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 31 Jul 2018 20:34:37 +0100 Subject: #1700 - Mention how to work around the completeopt bug in the documentation --- doc/ale.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/ale.txt b/doc/ale.txt index 15a20469..200770d3 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -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 . 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* -- cgit v1.2.3