fix whitespace toggle command (#177).
This commit is contained in:
parent
ab59dfffe7
commit
95a46cc106
@ -70,10 +70,10 @@ function! airline#extensions#whitespace#toggle()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#whitespace#init(ext)
|
function! airline#extensions#whitespace#init(...)
|
||||||
if !s:initialized
|
if !s:initialized
|
||||||
let s:initialized = 1
|
let s:initialized = 1
|
||||||
call a:ext.add_statusline_funcref(function('airline#extensions#whitespace#apply'))
|
call add(g:airline_statusline_funcrefs, function('airline#extensions#whitespace#apply'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
unlet! b:airline_whitespace_check
|
unlet! b:airline_whitespace_check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user