Do not try to expand iabbreviations when popup menu on. Should fix #154.

This commit is contained in:
Israel Chauca Fuentes
2013-12-25 02:09:41 -05:00
parent 821e0019fb
commit d280d23a83

View File

@@ -259,7 +259,9 @@ endfunction "}}}
" Mappers: {{{ " Mappers: {{{
function! s:TriggerAbb(expr) "{{{ function! s:TriggerAbb(expr) "{{{
if v:version < 703 || ( v:version == 703 && !has('patch489') ) if v:version < 703
\ || ( v:version == 703 && !has('patch489') )
\ || pumvisible()
return '' return ''
endif endif
if a:expr == 1 if a:expr == 1