Use local statusline rel. 21

This commit is contained in:
Andy K. Massimino
2018-02-10 12:44:51 -05:00
parent d89f48fb54
commit 26c6b90222

View File

@@ -85,7 +85,7 @@ function! s:matchparen.clear() abort dict " {{{1
endif
if exists('w:matchup_oldstatus')
let &statusline = w:matchup_oldstatus
let &l:statusline = w:matchup_oldstatus
unlet w:matchup_oldstatus
endif
@@ -286,9 +286,9 @@ function! matchup#matchparen#offscreen(current) " {{{1
if empty(l:offscreen) | return | endif
let w:matchup_oldstatus = &statusline
let w:matchup_oldstatus = &l:statusline
let &statusline = s:format_statusline(l:offscreen)
let &l:statusline = s:format_statusline(l:offscreen)
endfunction
" }}}1