diff options
| author | bfredl <bjorn.linse@gmail.com> | 2024-05-26 09:34:29 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2024-05-26 10:24:27 +0200 |
| commit | b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa (patch) | |
| tree | be6be35f4b823cb4bbb220e8318f63b8292d2b82 /test/functional/editor/mode_cmdline_spec.lua | |
| parent | 05a65432b6bb718d67dda370144e34faf933c086 (diff) | |
| download | rneovim-b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa.tar.gz rneovim-b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa.tar.bz2 rneovim-b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa.zip | |
refactor(tests): more global highlight definitions
Diffstat (limited to 'test/functional/editor/mode_cmdline_spec.lua')
| -rw-r--r-- | test/functional/editor/mode_cmdline_spec.lua | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/functional/editor/mode_cmdline_spec.lua b/test/functional/editor/mode_cmdline_spec.lua index 70bdc5d4c2..efd7a37c0b 100644 --- a/test/functional/editor/mode_cmdline_spec.lua +++ b/test/functional/editor/mode_cmdline_spec.lua @@ -48,18 +48,14 @@ describe('cmdline', function() it('redraws statusline when toggling overstrike', function() local screen = Screen.new(60, 4) - screen:set_default_attr_ids({ - [0] = { bold = true, foreground = Screen.colors.Blue }, -- NonText - [1] = { reverse = true, bold = true }, -- StatusLine - }) screen:attach() command('set laststatus=2 statusline=%!mode(1)') feed(':') screen:expect { grid = [[ | - {0:~ }| - {1:c }| + {1:~ }| + {3:c }| :^ | ]], } @@ -67,8 +63,8 @@ describe('cmdline', function() screen:expect { grid = [[ | - {0:~ }| - {1:cr }| + {1:~ }| + {3:cr }| :^ | ]], } |