diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-11-09 13:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-09 13:48:45 +0100 |
commit | dd4c828c86d0da7823a1c415d0e9c1d493e901b7 (patch) | |
tree | a50e1acc9853288d484f135acc50c066521a1b22 /test/functional/vimscript/api_functions_spec.lua | |
parent | 07b14c8e2ed288dfca382719aeb26d544573f51a (diff) | |
parent | abe6a07c54c0e927cf43f7f61b05ac91547daeed (diff) | |
download | rneovim-dd4c828c86d0da7823a1c415d0e9c1d493e901b7.tar.gz rneovim-dd4c828c86d0da7823a1c415d0e9c1d493e901b7.tar.bz2 rneovim-dd4c828c86d0da7823a1c415d0e9c1d493e901b7.zip |
Merge pull request #31118 from bfredl/merehl
refactor(tests): continue the global highlight definition work
Diffstat (limited to 'test/functional/vimscript/api_functions_spec.lua')
-rw-r--r-- | test/functional/vimscript/api_functions_spec.lua | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/test/functional/vimscript/api_functions_spec.lua b/test/functional/vimscript/api_functions_spec.lua index 30d6c969ca..0dbbace8f8 100644 --- a/test/functional/vimscript/api_functions_spec.lua +++ b/test/functional/vimscript/api_functions_spec.lua @@ -193,13 +193,6 @@ describe('eval-API', function() it('are highlighted by vim.vim syntax file', function() local screen = Screen.new(40, 8) screen:attach() - screen:set_default_attr_ids({ - [1] = { bold = true, foreground = Screen.colors.Brown }, - [2] = { foreground = Screen.colors.DarkCyan }, - [3] = { foreground = Screen.colors.SlateBlue }, - [4] = { foreground = Screen.colors.Fuchsia }, - [5] = { bold = true, foreground = Screen.colors.Blue }, - }) command('set ft=vim') command('set rtp^=build/runtime/') @@ -210,10 +203,10 @@ describe('eval-API', function() call not_a_function(42)]]) screen:expect([[ - {1:call} {2:bufnr}{3:(}{4:'%'}{3:)} | - {1:call} {2:nvim_input}{3:(}{4:'typing...'}{3:)} | - {1:call} not_a_function{3:(}{4:42}{3:^)} | - {5:~ }|*4 + {15:call} {25:bufnr}{16:(}{26:'%'}{16:)} | + {15:call} {25:nvim_input}{16:(}{26:'typing...'}{16:)} | + {15:call} not_a_function{16:(}{26:42}{16:^)} | + {1:~ }|*4 | ]]) end) |