mirror of
https://github.com/dense-analysis/ale
synced 2025-01-02 03:42:10 +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'
|
if &l:completeopt =~# 'preview'
|
||||||
let &l:completeopt = 'menu,menuone,preview,noselect,noinsert'
|
let &l:completeopt = 'menu,menuone,preview,noselect,noinsert'
|
||||||
|
elseif &l:completeopt =~# 'popup'
|
||||||
|
let &l:completeopt = 'menu,menuone,popup,noselect,noinsert'
|
||||||
else
|
else
|
||||||
let &l:completeopt = 'menu,menuone,noselect,noinsert'
|
let &l:completeopt = 'menu,menuone,noselect,noinsert'
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user