mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 00:00:15 +08:00
introduce parts metadata.
This commit is contained in:
1 parent
a927bf9475
commit
fa517238c7
6 files changed
+49
-55
No files matched your search
@@ -54,6 +54,6 @@ function! airline#extensions#hunks#get_hunks()
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#hunks#init(ext)
|
||||
let g:airline_parts.hunks = 'airline#extensions#hunks#get_hunks'
|
||||
call airline#parts#define_function('hunks', 'airline#extensions#hunks#get_hunks')
|
||||
endfunction
|
||||
|
||||
Reference in new issue
Block a user