mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-25 19:17:13 +08:00
Add null accent, to allow accents to be removed
This commit is contained in:
committed by
Christian Brabandt
parent
168b18ff0a
commit
0b1df0c524
@@ -45,6 +45,7 @@ function! airline#themes#patch(palette)
|
||||
endfor
|
||||
|
||||
let a:palette.accents = get(a:palette, 'accents', {})
|
||||
let a:palette.accents.none = [ '', '', '', '', '' ]
|
||||
let a:palette.accents.bold = [ '', '', '', '', 'bold' ]
|
||||
let a:palette.accents.italic = [ '', '', '', '', 'italic' ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user