aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-28 07:57:18 +0800
committerGitHub <noreply@github.com>2024-02-28 07:57:18 +0800
commita7788c2e251089b4844aac0e6633998bdb017da1 (patch)
tree699a1b5bf560ac0257dc452c33b9207ddf8fa582 /test/functional
parent7e46ff791c97b8cedd6b334329dfed175da47911 (diff)
downloadrneovim-a7788c2e251089b4844aac0e6633998bdb017da1.tar.gz
rneovim-a7788c2e251089b4844aac0e6633998bdb017da1.tar.bz2
rneovim-a7788c2e251089b4844aac0e6633998bdb017da1.zip
vim-patch:b1427b46f5fe (#27652)
runtime(vim): Update base-syntax, improve :echo highlighting (vim/vim#14103) - Normalise behaviour of :echo commands and improve expression matching. - Allow continued argument lines. - Refine string interpolation groups. - Remove duplicated :menu and :map generated commands that are handled specially later in the file. https://github.com/vim/vim/commit/b1427b46f5fe50a1daba102c4017d0ef2624b3ba Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/ui/highlight_spec.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua
index 5c0804a5d4..727dc38829 100644
--- a/test/functional/ui/highlight_spec.lua
+++ b/test/functional/ui/highlight_spec.lua
@@ -35,6 +35,7 @@ describe('highlight: `:syntax manual`', function()
screen:set_default_attr_ids({
[0] = { bold = true, foreground = Screen.colors.Blue },
[1] = { bold = true, foreground = Screen.colors.Brown },
+ [2] = { foreground = Screen.colors.Magenta1 },
})
end)
@@ -56,7 +57,7 @@ describe('highlight: `:syntax manual`', function()
command('bn')
feed_command('bp')
screen:expect([[
- {1:^echo} 1 |
+ {1:^echo} {2:1} |
{0:~ }|*3
:bp |
]])
@@ -78,7 +79,7 @@ describe('highlight: `:syntax manual`', function()
feed_command('silent bp')
eq('Xtest-functional-ui-highlight.tmp.vim', eval("fnamemodify(bufname('%'), ':t')"))
screen:expect([[
- {1:^echo} 1 |
+ {1:^echo} {2:1} |
{0:~ }|*3
:silent bp |
]])