mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 15:30:07 +08:00
highlighter: fix regex typo
This commit is contained in:
parent
09b5eb952c
commit
71dc6f0257
|
@ -255,7 +255,7 @@ function! airline#highlighter#highlight(modes, ...)
|
||||||
" do not re-create highlighting for buffers that are no longer visible
|
" do not re-create highlighting for buffers that are no longer visible
|
||||||
" in the current tabpage
|
" in the current tabpage
|
||||||
if name[0:8] is# 'airline_c'
|
if name[0:8] is# 'airline_c'
|
||||||
let bnr = matchstr(name, 'airline_c\\zs\d\+') + 0
|
let bnr = matchstr(name, 'airline_c\zs\d\+') + 0
|
||||||
if index(buffers_in_tabpage, bnr) == -1
|
if index(buffers_in_tabpage, bnr) == -1
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user