mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
refactor(ui)!: link VertSplit to Normal by default
Avoids using `gui=reverse` on `VertSplit` and makes window separators look much nicer by default.
This commit is contained in:
@@ -14,6 +14,7 @@ describe('ext_hlstate detailed highlights', function()
|
||||
before_each(function()
|
||||
clear()
|
||||
command('syntax on')
|
||||
command('hi VertSplit gui=reverse')
|
||||
screen = Screen.new(40, 8)
|
||||
screen:attach({ext_hlstate=true})
|
||||
end)
|
||||
@@ -59,7 +60,7 @@ describe('ext_hlstate detailed highlights', function()
|
||||
|
||||
it('work with cleared UI highlights', function()
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {{}, {{hi_name = "VertSplit", ui_name = "WinSeparator", kind = "ui"}}},
|
||||
[1] = {{}, {{hi_name = "Normal", ui_name = "WinSeparator", kind = "ui"}}},
|
||||
[2] = {{bold = true, foreground = Screen.colors.Blue1},
|
||||
{{hi_name = "NonText", ui_name = "EndOfBuffer", kind = "ui"}}},
|
||||
[3] = {{bold = true, reverse = true},
|
||||
|
||||
Reference in New Issue
Block a user