mirror of
https://github.com/dense-analysis/ale
synced 2024-12-30 10:02:14 +00:00
Allow popup to be used instead of preview in completeopt
This commit is contained in:
parent
5f84325cd8
commit
4cbe16197c
@ -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