mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-10-13 00:20:21 +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
@@ -30,6 +30,13 @@ describe 'active builder'
|
||||
let stl = s:builder.build()
|
||||
Expect stl =~ '%#Normal#hello%#Normal_to_NonText#<%#NonText#world'
|
||||
end
|
||||
|
||||
it 'should not repeat the same highlight group'
|
||||
call s:builder.add_section('Normal', 'hello')
|
||||
call s:builder.add_section('Normal', 'hello')
|
||||
let stl = s:builder.build()
|
||||
Expect stl == '%#Normal#hello>hello'
|
||||
end
|
||||
end
|
||||
|
||||
describe 'inactive builder'
|
||||
|
||||
Reference in new issue
Block a user