summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-01-01 18:43:53 +0000
committerGitHub <noreply@github.com>2020-01-01 18:43:53 +0000
commit7a4f5cefba1477d049386a70320487868ab8583e (patch)
treed09d59ff3cd1c37967b61212ebb4bd8aee89e207
parent6ad8836c68f6b506780c844efc9b8d89959af90a (diff)
parent4cbe16197cbcdc3752aad6e596c6f910b8cff63c (diff)
downloadale-7a4f5cefba1477d049386a70320487868ab8583e.zip
Merge pull request #2942 from PsiPhire/master
Allow popup to be used instead of preview in completeopt
-rw-r--r--autoload/ale/completion.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim
index da24e839..d18de59d 100644
--- a/autoload/ale/completion.vim
+++ b/autoload/ale/completion.vim
@@ -261,6 +261,8 @@ function! s:ReplaceCompletionOptions() abort
if &l:completeopt =~# 'preview'
let &l:completeopt = 'menu,menuone,preview,noselect,noinsert'
+ elseif &l:completeopt =~# 'popup'
+ let &l:completeopt = 'menu,menuone,popup,noselect,noinsert'
else
let &l:completeopt = 'menu,menuone,noselect,noinsert'
endif