aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-03 11:59:00 +0800
committerGitHub <noreply@github.com>2023-12-03 11:59:00 +0800
commit0d885247b03439ee3aff4c0b9ec095a29bb21759 (patch)
tree8b3d8419bcfe2408ead3aaf1da73f05835292212 /test/functional/helpers.lua
parent481a3158866638946c91fab28ae5bca97ff1e814 (diff)
parent64a14026d76ba1798d91e15a941fcb6af7cbc5ad (diff)
downloadrneovim-0d885247b03439ee3aff4c0b9ec095a29bb21759.tar.gz
rneovim-0d885247b03439ee3aff4c0b9ec095a29bb21759.tar.bz2
rneovim-0d885247b03439ee3aff4c0b9ec095a29bb21759.zip
Merge pull request #26334 from echasnovski/default-colorscheme
feat(highlight): update default color scheme
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index dcaaa664b9..2bff1d16f8 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -38,6 +38,11 @@ module.nvim_argv = {
'--cmd', module.nvim_set,
'--cmd', 'mapclear',
'--cmd', 'mapclear!',
+ -- Make screentest work after changing to the new default color scheme
+ -- Source 'vim' color scheme without side effects
+ -- TODO: rewrite tests
+ '--cmd', 'lua f=io.open("runtime/colors/vim.vim", "r"); l=f:read("*a"); f:close(); vim.api.nvim_exec2(l, {})',
+ '--cmd', 'unlet g:colors_name',
'--embed'}
-- Directory containing nvim.