aboutsummaryrefslogtreecommitdiff
path: root/test/functional/autocmd/textyankpost_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/autocmd/textyankpost_spec.lua')
-rw-r--r--test/functional/autocmd/textyankpost_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/autocmd/textyankpost_spec.lua b/test/functional/autocmd/textyankpost_spec.lua
index 3898d59e58..1640916ad8 100644
--- a/test/functional/autocmd/textyankpost_spec.lua
+++ b/test/functional/autocmd/textyankpost_spec.lua
@@ -8,7 +8,7 @@ describe('TextYankPost', function()
clear()
-- emulate the clipboard so system clipboard isn't affected
- command('let &rtp = "test/functional/fixtures,".&rtp')
+ command('set rtp^=test/functional/fixtures')
command('let g:count = 0')
command('autocmd TextYankPost * let g:event = copy(v:event)')