mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-26 10:13:42 +08:00
fern: enable fern again
fern.vim decided to remove the global variable `g:fern_loaded` in f9404e8a59b6a74b15a5 So adjust to use the correct variable name `g:loaded_fern`. fixes #2346
This commit is contained in:
parent
66a6e03a34
commit
61042e3502
|
@ -167,7 +167,7 @@ function! airline#extensions#load()
|
|||
call add(s:loaded_ext, 'gina')
|
||||
endif
|
||||
|
||||
if get(g:, 'fern_loaded', 0) && get(g:, 'airline#extensions#fern#enabled', 1)
|
||||
if get(g:, 'loaded_fern', 0) && get(g:, 'airline#extensions#fern#enabled', 1)
|
||||
call airline#extensions#fern#init(s:ext)
|
||||
call add(s:loaded_ext, 'fern')
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user