aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/main_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-05-02 09:56:22 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-05-02 09:56:22 +0200
commitfd0fd752c872428cc4fb9c95721eab1b505fc111 (patch)
tree82b1f3d0635af4b2ce170b0f2768691df2855062 /test/functional/core/main_spec.lua
parent49c51f839b537ac8ff60671030a8d7b2399ad4a7 (diff)
downloadrneovim-fd0fd752c872428cc4fb9c95721eab1b505fc111.tar.gz
rneovim-fd0fd752c872428cc4fb9c95721eab1b505fc111.tar.bz2
rneovim-fd0fd752c872428cc4fb9c95721eab1b505fc111.zip
terminal: swap priority of terminal, editor highlights
closes #9964
Diffstat (limited to 'test/functional/core/main_spec.lua')
-rw-r--r--test/functional/core/main_spec.lua12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/functional/core/main_spec.lua b/test/functional/core/main_spec.lua
index a0981e9207..b793e531c9 100644
--- a/test/functional/core/main_spec.lua
+++ b/test/functional/core/main_spec.lua
@@ -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'