mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-02-28 15:42:18 +08:00
add deprecation warnings.
This commit is contained in:
@@ -195,8 +195,8 @@ 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")
|
||||
" check to see that both the resolved and unresolved paths do not match
|
||||
" up with the path of the found extension
|
||||
" we have to check both resolved and unresolved paths, since it's possible
|
||||
" that they might not get resolved properly (see #187)
|
||||
if stridx(resolve(fnamemodify(file, ':p')), s:script_path) < 0
|
||||
\ && stridx(fnamemodify(file, ':p'), s:script_path) < 0
|
||||
let name = fnamemodify(file, ':t:r')
|
||||
|
||||
Reference in New Issue
Block a user