mirror of
https://github.com/dense-analysis/ale
synced 2024-12-21 05:43:05 +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'
|
||||
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