mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-10 07:05:47 +08:00
remove redundant highlight group.
This commit is contained in:
1 parent
db58294871
commit
ad3556d243
2 files changed
+12
-1
No files matched your search
@@ -19,7 +19,11 @@ function! s:prototype.add_section(group, contents)
|
||||
endif
|
||||
endif
|
||||
|
||||
let self._line .= '%#'.a:group.'#'.a:contents
|
||||
if self._curgroup != a:group
|
||||
let self._line .= '%#'.a:group.'#'
|
||||
endif
|
||||
|
||||
let self._line .= a:contents
|
||||
let self._curgroup = a:group
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user