mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-24 17:28:34 +08:00
check guard for all extensions. resolves #241.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
" MIT License. Copyright (c) 2013 Bailey Ling.
|
||||
" vim: et ts=2 sts=2 sw=2
|
||||
|
||||
if !exists(':UndotreeToggle')
|
||||
finish
|
||||
endif
|
||||
|
||||
function! airline#extensions#undotree#apply(...)
|
||||
if exists('t:undotree')
|
||||
if &ft == 'undotree'
|
||||
|
||||
Reference in New Issue
Block a user