mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-07 20:13:21 +08:00
tests for configuring accents directly.
This commit is contained in:
@@ -30,6 +30,10 @@ function! airline#parts#define_condition(key, predicate)
|
||||
call airline#parts#define(a:key, { 'condition': a:predicate })
|
||||
endfunction
|
||||
|
||||
function! airline#parts#define_accent(key, accent)
|
||||
call airline#parts#define(a:key, { 'accent': a:accent })
|
||||
endfunction
|
||||
|
||||
function! airline#parts#define_empty(keys)
|
||||
for key in a:keys
|
||||
call airline#parts#define_raw(key, '')
|
||||
|
||||
Reference in New Issue
Block a user