Create AirlineModeChanged autocmd
This commit is contained in:
parent
b790fd2120
commit
781c40bb3d
|
@ -189,6 +189,7 @@ function! airline#check_mode(winnr)
|
|||
if get(w:, 'airline_lastmode', '') != mode_string
|
||||
call airline#highlighter#highlight_modified_inactive(context.bufnr)
|
||||
call airline#highlighter#highlight(l:mode, context.bufnr)
|
||||
silent doautocmd User AirlineModeChanged
|
||||
let w:airline_lastmode = mode_string
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue