This commit is contained in:
Aaron 2024-09-16 23:19:15 +01:00 committed by GitHub
commit cc8c95bffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 22 additions and 23 deletions

View File

@ -22,7 +22,7 @@ describe('autoread TUI FocusGained/FocusLost', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile noshowcmd noruler notermguicolors', 'set noswapfile noshowcmd noruler notermguicolors',
}) })

View File

@ -21,7 +21,7 @@ describe('api', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
n.nvim_set .. ' notermguicolors', n.nvim_set .. ' notermguicolors',
}) })

View File

@ -491,7 +491,7 @@ describe('terminal input', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set notermguicolors', 'set notermguicolors',
'-c', '-c',

View File

@ -57,7 +57,7 @@ describe('TUI', function()
'--cmd', '--cmd',
nvim_set .. ' notermguicolors laststatus=2 background=dark', nvim_set .. ' notermguicolors laststatus=2 background=dark',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
}) })
screen:expect([[ screen:expect([[
{1: } | {1: } |
@ -2009,7 +2009,7 @@ describe('TUI', function()
nvim_prog, nvim_prog,
'--clean', '--clean',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set notermguicolors', 'set notermguicolors',
'--cmd', '--cmd',
@ -2138,7 +2138,7 @@ describe('TUI', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noruler notermguicolors', 'set noruler notermguicolors',
'--cmd', '--cmd',
@ -2173,7 +2173,7 @@ describe('TUI', function()
'--cmd', '--cmd',
'set notermguicolors', 'set notermguicolors',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'call setline(1, ["1st line" .. repeat(" ", 153), "2nd line"])', 'call setline(1, ["1st line" .. repeat(" ", 153), "2nd line"])',
}, { cols = 80 }) }, { cols = 80 })
@ -2294,7 +2294,7 @@ describe('TUI UIEnter/UILeave', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile noshowcmd noruler notermguicolors', 'set noswapfile noshowcmd noruler notermguicolors',
'--cmd', '--cmd',
@ -2343,7 +2343,7 @@ describe('TUI FocusGained/FocusLost', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile noshowcmd noruler notermguicolors background=dark', 'set noswapfile noshowcmd noruler notermguicolors background=dark',
}) })
@ -2560,7 +2560,7 @@ describe("TUI 't_Co' (terminal colors)", function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
nvim_set .. ' notermguicolors', nvim_set .. ' notermguicolors',
}, { }, {
@ -2903,7 +2903,7 @@ describe('TUI', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
nvim_set .. ' notermguicolors', nvim_set .. ' notermguicolors',
extra_args, extra_args,
@ -3122,7 +3122,7 @@ describe('TUI bg color', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile', 'set noswapfile',
}) })
@ -3145,7 +3145,7 @@ describe('TUI bg color', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile', 'set noswapfile',
}) })
@ -3174,7 +3174,7 @@ describe('TUI bg color', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile', 'set noswapfile',
}) })
@ -3190,7 +3190,7 @@ describe('TUI bg color', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
'set noswapfile', 'set noswapfile',
'-c', '-c',
@ -3227,7 +3227,7 @@ describe('TUI as a client', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
nvim_set .. ' notermguicolors laststatus=2 background=dark', nvim_set .. ' notermguicolors laststatus=2 background=dark',
}) })
@ -3369,7 +3369,7 @@ describe('TUI as a client', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
nvim_set .. ' notermguicolors laststatus=2 background=dark', nvim_set .. ' notermguicolors laststatus=2 background=dark',
}) })

View File

@ -308,7 +308,7 @@ describe('--embed --listen UI', function()
child_server, child_server,
'--clean', '--clean',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
}) })
retry(nil, nil, function() retry(nil, nil, function()
neq(nil, uv.fs_stat(child_server)) neq(nil, uv.fs_stat(child_server))

View File

@ -29,7 +29,7 @@ describe('shell command :!', function()
'-i', '-i',
'NONE', 'NONE',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--cmd', '--cmd',
n.nvim_set .. ' notermguicolors', n.nvim_set .. ' notermguicolors',
}) })

View File

@ -21,7 +21,7 @@ describe('screen', function()
'--cmd', '--cmd',
'set shortmess+=I background=light noswapfile belloff= noshowcmd noruler', 'set shortmess+=I background=light noswapfile belloff= noshowcmd noruler',
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--embed', '--embed',
} }
@ -712,7 +712,7 @@ describe('Screen default colors', function()
'--cmd', '--cmd',
'set shortmess+=I noswapfile belloff= noshowcmd noruler' .. extra, 'set shortmess+=I noswapfile belloff= noshowcmd noruler' .. extra,
'--cmd', '--cmd',
'colorscheme vim', 'colorscheme default',
'--embed', '--embed',
} }
local screen_nvim = spawn(nvim_argv) local screen_nvim = spawn(nvim_argv)

View File

@ -115,5 +115,4 @@ if !isdirectory($HOME)
call mkdir($HOME) call mkdir($HOME)
endif endif
" Use Vim's default color scheme colorscheme default
colorscheme vim