aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/hlstate_spec.lua
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-05-15 22:34:44 +0600
committerFamiu Haque <famiuhaque@protonmail.com>2022-05-15 22:37:35 +0600
commitbbf58e6bbcc107e92d84730a33bd5a32440f5428 (patch)
treeda8c7ccfa6be8ebd144141525c8146dca586746b /test/functional/ui/hlstate_spec.lua
parent793496aecc23fdee93040fc94ca3e1a66da73039 (diff)
downloadrneovim-bbf58e6bbcc107e92d84730a33bd5a32440f5428.tar.gz
rneovim-bbf58e6bbcc107e92d84730a33bd5a32440f5428.tar.bz2
rneovim-bbf58e6bbcc107e92d84730a33bd5a32440f5428.zip
refactor(ui)!: link `VertSplit` to `Normal` by default
Avoids using `gui=reverse` on `VertSplit` and makes window separators look much nicer by default.
Diffstat (limited to 'test/functional/ui/hlstate_spec.lua')
-rw-r--r--test/functional/ui/hlstate_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/hlstate_spec.lua b/test/functional/ui/hlstate_spec.lua
index dcea2c76dd..925af11627 100644
--- a/test/functional/ui/hlstate_spec.lua
+++ b/test/functional/ui/hlstate_spec.lua
@@ -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},