aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/bufhl_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-04-09 03:23:16 +0300
committerZyX <kp-pav@yandex.ru>2017-04-09 03:24:26 +0300
commit0ac2afdec73711d8006d6227fcb1d7b658ccf184 (patch)
tree0535e7a4d3fa190dcd03fc9f27298dd874364113 /test/functional/ui/bufhl_spec.lua
parentddaa41dee4077247b7742df5762413ef8e3dc7f8 (diff)
downloadrneovim-0ac2afdec73711d8006d6227fcb1d7b658ccf184.tar.gz
rneovim-0ac2afdec73711d8006d6227fcb1d7b658ccf184.tar.bz2
rneovim-0ac2afdec73711d8006d6227fcb1d7b658ccf184.zip
functests: Fix some ui/*_spec tests
Diffstat (limited to 'test/functional/ui/bufhl_spec.lua')
-rw-r--r--test/functional/ui/bufhl_spec.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/functional/ui/bufhl_spec.lua b/test/functional/ui/bufhl_spec.lua
index 536a5c43ee..e1e11203e0 100644
--- a/test/functional/ui/bufhl_spec.lua
+++ b/test/functional/ui/bufhl_spec.lua
@@ -1,10 +1,8 @@
local helpers = require('test.functional.helpers')(after_each)
local Screen = require('test.functional.ui.screen')
-local Paths = require('test.config.paths')
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
local command, request, neq = helpers.command, helpers.request, helpers.neq
-local meths = helpers.meths
if helpers.pending_win32(pending) then return end
@@ -14,10 +12,7 @@ describe('Buffer highlighting', function()
before_each(function()
clear()
- meths.set_var('source_path', Paths.test_source_path)
- command('let $VIMRUNTIME=source_path . "/runtime"')
- command('set runtimepath=$VIMRUNTIME')
- command("syntax on")
+ command('syntax on')
screen = Screen.new(40, 8)
screen:attach()
screen:set_default_attr_ids({