mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-10-11 23:50:21 +08:00
Add promptline.vim extension
This commit is contained in:
1 parent
7a1801e9c4
commit
1c41ce53d9
4 files changed
+63
-1
No files matched your search
@@ -199,6 +199,10 @@ function! airline#extensions#load()
|
||||
call airline#extensions#tmuxline#init(s:ext)
|
||||
endif
|
||||
|
||||
if get(g:, 'airline#extensions#promptline#enabled', 1) && exists(':PromptlineSnapshot') && len(get(g:, 'airline#extensions#promptline#snapshot_file', ''))
|
||||
call airline#extensions#promptline#init(s:ext)
|
||||
endif
|
||||
|
||||
" load all other extensions not part of the default distribution
|
||||
for file in split(globpath(&rtp, "autoload/airline/extensions/*.vim"), "\n")
|
||||
" we have to check both resolved and unresolved paths, since it's possible
|
||||
|
||||
Reference in new issue
Block a user