diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-08-14 19:38:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 19:38:49 +0200 |
commit | 32d17cb6d23248ec50286df8a2dfd0e5c0f28f3b (patch) | |
tree | 2bf58c80044d309178278aaec993c802370fa78c /test/functional/lua/luaeval_spec.lua | |
parent | 6bcefad5a671faab202d5359752b75c6619b9e28 (diff) | |
parent | ef4c9b136e0a41ca4a4740688fa0956c2ccbfb2e (diff) | |
download | rneovim-32d17cb6d23248ec50286df8a2dfd0e5c0f28f3b.tar.gz rneovim-32d17cb6d23248ec50286df8a2dfd0e5c0f28f3b.tar.bz2 rneovim-32d17cb6d23248ec50286df8a2dfd0e5c0f28f3b.zip |
Merge pull request #30045 from bfredl/nodefault5
refactor(tests): again yet more global highlight definitions
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
-rw-r--r-- | test/functional/lua/luaeval_spec.lua | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/test/functional/lua/luaeval_spec.lua b/test/functional/lua/luaeval_spec.lua index f3db729c09..e66d457237 100644 --- a/test/functional/lua/luaeval_spec.lua +++ b/test/functional/lua/luaeval_spec.lua @@ -510,23 +510,16 @@ describe('v:lua', function() it('works in func options', function() local screen = Screen.new(60, 8) - screen:set_default_attr_ids({ - [1] = {bold = true, foreground = Screen.colors.Blue1}, - [2] = {background = Screen.colors.WebGray}, - [3] = {background = Screen.colors.LightMagenta}, - [4] = {bold = true}, - [5] = {bold = true, foreground = Screen.colors.SeaGreen4}, - }) screen:attach() api.nvim_set_option_value('omnifunc', 'v:lua.mymod.omni', {}) feed('isome st<c-x><c-o>') screen:expect{grid=[[ some stuff^ | - {1:~ }{2: stuff }{1: }| - {1:~ }{3: steam }{1: }| - {1:~ }{3: strange things }{1: }| + {1:~ }{12: stuff }{1: }| + {1:~ }{4: steam }{1: }| + {1:~ }{4: strange things }{1: }| {1:~ }|*3 - {4:-- Omni completion (^O^N^P) }{5:match 1 of 3} | + {5:-- Omni completion (^O^N^P) }{6:match 1 of 3} | ]]} api.nvim_set_option_value('operatorfunc', 'v:lua.mymod.noisy', {}) feed('<Esc>g@g@') |