mirror of
https://github.com/lewis6991/gitsigns.nvim
synced 2025-02-16 04:06:50 +00:00
test: use the classic vim colorscheme for nvim nightly
This commit is contained in:
parent
87640f5a87
commit
017c924e20
@ -55,7 +55,12 @@ describe('gitsigns (with screen)', function()
|
||||
[10] = { foreground = Screen.colors.Red },
|
||||
})
|
||||
|
||||
-- Make gitisigns available
|
||||
-- Use the classic vim colorscheme, not the new defaults in nvim >= 0.10
|
||||
if fn.has('nvim-0.10') > 0 then
|
||||
command('colorscheme vim')
|
||||
end
|
||||
|
||||
-- Make gitsigns available
|
||||
exec_lua('package.path = ...', package.path)
|
||||
config = vim.deepcopy(test_config)
|
||||
command('cd ' .. system({ 'dirname', os.tmpname() }))
|
||||
|
Loading…
Reference in New Issue
Block a user