mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-09-18 09:13:12 +08:00
15 lines
375 B
VimL
15 lines
375 B
VimL
" MIT License. Copyright (c) 2026 Shad
|
|
" vim: et ts=2 sts=2 sw=2
|
|
|
|
scriptencoding utf-8
|
|
|
|
function! airline#extensions#linediff#init(ext)
|
|
call a:ext.add_statusline_func('airline#extensions#linediff#apply')
|
|
endfunction
|
|
|
|
function! airline#extensions#linediff#apply(...)
|
|
if exists('b:differ.description')
|
|
let w:airline_section_c = b:differ.description
|
|
endif
|
|
endfunction
|