terminal: swap priority of terminal, editor highlights

closes #9964
This commit is contained in:
Justin M. Keyes
2019-05-02 09:56:22 +02:00
parent 49c51f839b
commit fd0fd752c8
6 changed files with 90 additions and 34 deletions

View File

@@ -7,19 +7,9 @@ local feed = helpers.feed
local eval = helpers.eval
local clear = helpers.clear
local funcs = helpers.funcs
local nvim_prog = helpers.nvim_prog
local nvim_prog_abs = helpers.nvim_prog_abs
local write_file = helpers.write_file
local function nvim_prog_abs()
-- system(['build/bin/nvim']) does not work for whatever reason. It needs to
-- either be executable searched in $PATH or something starting with / or ./.
if nvim_prog:match('[/\\]') then
return funcs.fnamemodify(nvim_prog, ':p')
else
return nvim_prog
end
end
describe('Command-line option', function()
describe('-s', function()
local fname = 'Xtest-functional-core-main-s'