highlighter: fix regex typo

This commit is contained in:
Christian Brabandt 2018-11-08 12:24:02 +01:00
parent 09b5eb952c
commit 71dc6f0257
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -255,7 +255,7 @@ function! airline#highlighter#highlight(modes, ...)
" do not re-create highlighting for buffers that are no longer visible
" in the current tabpage
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
continue
endif