Fix bug in g@ detection

This commit is contained in:
Andy K. Massimino
2017-12-23 00:11:11 -05:00
parent c2a7cf1891
commit d2c649e5cf

View File

@@ -44,7 +44,7 @@ function! matchup#text_obj#delimited(is_inner, visual, type) " {{{1
if v:operator ==# 'g@'
let l:spec = matchlist(g:matchup_text_obj_linewise_operators,
\ '^g@\%(,\(.\+\)\)\?')
if !empty(l:spec[0])
if !empty(l:spec)
if empty(l:spec[1])
let l:linewise_op = 1
else