diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-10-12 10:57:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-12 10:57:31 -0700 |
commit | e049c6e4c08a141c94218672e770f86f91c27a11 (patch) | |
tree | 9ee26aa2f39b30a86410d79a425b1a440c807822 /test/functional/ui/highlight_spec.lua | |
parent | 4b909528516032b002a4a32f3e06f0eb6185ea6b (diff) | |
download | rneovim-e049c6e4c08a141c94218672e770f86f91c27a11.tar.gz rneovim-e049c6e4c08a141c94218672e770f86f91c27a11.tar.bz2 rneovim-e049c6e4c08a141c94218672e770f86f91c27a11.zip |
feat(ui): statusline text inherits highlights #29976
Changes apply to the winbar, statusline, and tabline text.
Diffstat (limited to 'test/functional/ui/highlight_spec.lua')
-rw-r--r-- | test/functional/ui/highlight_spec.lua | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua index 87d66fa604..47b923c8e2 100644 --- a/test/functional/ui/highlight_spec.lua +++ b/test/functional/ui/highlight_spec.lua @@ -1691,6 +1691,7 @@ describe("'winhighlight' highlight", function() [29] = { foreground = Screen.colors.Blue1, background = Screen.colors.Red, bold = true }, [30] = { background = tonumber('0xff8800') }, [31] = { background = tonumber('0xff8800'), bold = true, foreground = Screen.colors.Blue }, + [32] = { bold = true, reverse = true, background = Screen.colors.DarkGreen }, } command('hi Background1 guibg=DarkBlue') command('hi Background2 guibg=DarkGreen') @@ -2253,10 +2254,10 @@ describe("'winhighlight' highlight", function() some text | more tex^t | {0:~ }| - {3:[No Name] }{1:2,9 All}| + {3:[No Name] }{11:2,9 All}| some text | more text | - {4:[No Name] }{1:1,1 All}| + {4:[No Name] }{14:1,1 All}| | ]], } @@ -2267,10 +2268,10 @@ describe("'winhighlight' highlight", function() some text | more tex^t | {0:~ }| - {3:[No Name] }{5:2,9 All}| + {3:[No Name] }{32:2,9 All}| some text | more text | - {4:[No Name] }{1:1,1 All}| + {4:[No Name] }{14:1,1 All}| | ]], } @@ -2281,10 +2282,10 @@ describe("'winhighlight' highlight", function() some tex^t | more text | {0:~ }| - {3:[No Name] }{5:1,9 All}| + {3:[No Name] }{32:1,9 All}| some text | more text | - {4:[No Name] }{1:1,1 All}| + {4:[No Name] }{14:1,1 All}| | ]], } |