mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-16 00:37:08 +08:00
Use extension local variables, and expose hunk_symbols to user
This commit is contained in:
@@ -211,9 +211,13 @@ vim-gitgutter <https://github.com/airblade/vim-gitgutter>
|
||||
|
||||
* enable/disable detecting changed hunks under source control. >
|
||||
let g:airline_enable_hunks = 1
|
||||
|
||||
* enable/disable showing only non-zero hunks.
|
||||
let g:airline_hunk_non_zero_only = 0
|
||||
<
|
||||
* enable/disable showing only non-zero hunks. >
|
||||
let g:airline#extensions#hunks#non_zero_only = 0
|
||||
<
|
||||
* set hunk count symbols. >
|
||||
let g:airline#extensions#hunks#hunk_symbols = ['+', '~', '-']
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
FUNCREFS *airline-funcrefs*
|
||||
|
||||
Reference in New Issue
Block a user