diff options
| author | bfredl <bjorn.linse@gmail.com> | 2024-05-26 13:32:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-26 13:32:51 +0200 |
| commit | 4f24e1b1d743a13f5a7b536f8acce9552143794d (patch) | |
| tree | 7719fe296c0d1f7008367a378945ad7589a4aafa /test/functional/editor/mode_insert_spec.lua | |
| parent | 98536dd78e73da41b9fd4ede3433dd6114139088 (diff) | |
| parent | b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa (diff) | |
| download | rneovim-4f24e1b1d743a13f5a7b536f8acce9552143794d.tar.gz rneovim-4f24e1b1d743a13f5a7b536f8acce9552143794d.tar.bz2 rneovim-4f24e1b1d743a13f5a7b536f8acce9552143794d.zip | |
Merge pull request #29014 from bfredl/editortest
refactor(tests): more global highlight definitions
Diffstat (limited to 'test/functional/editor/mode_insert_spec.lua')
| -rw-r--r-- | test/functional/editor/mode_insert_spec.lua | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/test/functional/editor/mode_insert_spec.lua b/test/functional/editor/mode_insert_spec.lua index fb3dda4bf4..fc1e6c4ee4 100644 --- a/test/functional/editor/mode_insert_spec.lua +++ b/test/functional/editor/mode_insert_spec.lua @@ -180,12 +180,6 @@ describe('insert-mode', function() it('multi-char mapping updates screen properly #25626', function() local screen = Screen.new(60, 6) - screen:set_default_attr_ids({ - [0] = { bold = true, foreground = Screen.colors.Blue }, -- NonText - [1] = { bold = true, reverse = true }, -- StatusLine - [2] = { reverse = true }, -- StatusLineNC - [3] = { bold = true }, -- ModeMsg - }) screen:attach() command('vnew') insert('foo\nfoo\nfoo') @@ -197,10 +191,10 @@ describe('insert-mode', function() grid = [[ foo │ | foo │β^jβ | - foo │{0:~ }| - {0:~ }│{0:~ }| - {2:[No Name] [+] }{1:[No Name] [+] }| - {3:-- INSERT --} | + foo │{1:~ }| + {1:~ }│{1:~ }| + {2:[No Name] [+] }{3:[No Name] [+] }| + {5:-- INSERT --} | ]], } feed('k') @@ -208,9 +202,9 @@ describe('insert-mode', function() grid = [[ foo │ | foo │^βββ | - foo │{0:~ }| - {0:~ }│{0:~ }| - {2:[No Name] [+] }{1:[No Name] [+] }| + foo │{1:~ }| + {1:~ }│{1:~ }| + {2:[No Name] [+] }{3:[No Name] [+] }| | ]], } |