mirror of
https://github.com/dense-analysis/ale
synced 2024-12-30 10:02:14 +00:00
Merge pull request #2942 from PsiPhire/master
Allow popup to be used instead of preview in completeopt
This commit is contained in:
commit
7a4f5cefba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user