mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-05-24 17:18:34 +08:00
introduce parts metadata.
This commit is contained in:
@@ -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