mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
use __accent to better differentiate between a real group.
This commit is contained in:
@@ -24,7 +24,7 @@ function! s:prototype.add_section(group, contents)
|
||||
endif
|
||||
|
||||
let contents = []
|
||||
let content_parts = split(a:contents, 'airline_accent')
|
||||
let content_parts = split(a:contents, '__accent')
|
||||
for cpart in content_parts
|
||||
let accent = matchstr(cpart, '_\zs[^#]*\ze')
|
||||
call airline#highlighter#add_accent(a:group, accent)
|
||||
|
||||
Reference in New Issue
Block a user