diff options
author | Zander Lee <zander.lee16@gmail.com> | 2019-12-22 09:35:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 09:35:29 +0100 |
commit | 4cbe16197cbcdc3752aad6e596c6f910b8cff63c (patch) | |
tree | f06c875ed84ce6df51cb6a38d443fd8288e4e4d8 | |
parent | 5f84325cd811ec179b7f3642652438c6a45b174d (diff) | |
download | ale-4cbe16197cbcdc3752aad6e596c6f910b8cff63c.zip |
Allow popup to be used instead of preview in completeopt
-rw-r--r-- | autoload/ale/completion.vim | 2 |
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 |