mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-25 23:14:50 +02:00
autoload: bufnr argument of #highlight function is actually a string
This commit is contained in:
parent
f5e2f97003
commit
f615f8bad3
@ -262,7 +262,7 @@ function! airline#check_mode(winnr)
|
|||||||
let mode_string = join(l:mode)
|
let mode_string = join(l:mode)
|
||||||
if get(w:, 'airline_lastmode', '') != mode_string
|
if get(w:, 'airline_lastmode', '') != mode_string
|
||||||
call airline#highlighter#highlight_modified_inactive(context.bufnr)
|
call airline#highlighter#highlight_modified_inactive(context.bufnr)
|
||||||
call airline#highlighter#highlight(l:mode, context.bufnr)
|
call airline#highlighter#highlight(l:mode, string(context.bufnr))
|
||||||
call airline#util#doautocmd('AirlineModeChanged')
|
call airline#util#doautocmd('AirlineModeChanged')
|
||||||
let w:airline_lastmode = mode_string
|
let w:airline_lastmode = mode_string
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user