summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-31 20:34:37 +0100
committerw0rp <devw0rp@gmail.com>2018-07-31 20:34:37 +0100
commit399a0d3c988381d2436d066e1fe74ef688947f28 (patch)
tree1095992155c69e293da9be3b2644a1876210220d
parent16d0c52d24e8948b8bd8030e3fd112e0b6361c06 (diff)
downloadale-399a0d3c988381d2436d066e1fe74ef688947f28.zip
#1700 - Mention how to work around the completeopt bug in the documentation
-rw-r--r--doc/ale.txt10
1 files changed, 10 insertions, 0 deletions
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 <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*