mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 07:31:15 +08:00
Merge pull request #171 from mattn/fix_bundle_paths
Fixes bundle paths. For example ftbundle add 'vim-airline/./autoload' in...
This commit is contained in:
commit
18a6083b0a
|
@ -183,7 +183,7 @@ function! airline#extensions#load()
|
|||
|
||||
" load all other extensions not part of the default distribution
|
||||
for file in split(globpath(&rtp, "autoload/airline/extensions/*.vim"), '\n')
|
||||
if match(file, '\vvim-airline(/|\\)autoload') < 0
|
||||
if match(fnamemodify(file, ':p'), '\vvim-airline(/|\\)autoload') < 0
|
||||
let name = fnamemodify(file, ':t:r')
|
||||
if !get(g:, 'airline#extensions#'.name.'#enabled', 1)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user