mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-08 04:54:44 +08:00
fix wrong variable name
This commit is contained in:
@@ -44,7 +44,7 @@ function! s:on_window_changed()
|
|||||||
let l:key = [bufnr('%'), winnr(), winnr('$'), tabpagenr(), &ft]
|
let l:key = [bufnr('%'), winnr(), winnr('$'), tabpagenr(), &ft]
|
||||||
if get(g:, 'airline_last_window_changed', []) == l:key
|
if get(g:, 'airline_last_window_changed', []) == l:key
|
||||||
\ && &stl is# '%!airline#statusline('.winnr().')'
|
\ && &stl is# '%!airline#statusline('.winnr().')'
|
||||||
\ && ft !~? 'gitcommit'
|
\ && &ft !~? 'gitcommit'
|
||||||
" fugitive is special, it changes names and filetypes several times,
|
" fugitive is special, it changes names and filetypes several times,
|
||||||
" make sure the caching does not get into its way
|
" make sure the caching does not get into its way
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user