about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--vimrc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 22d3f99a..72280753 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -85,7 +85,7 @@ if empty($TMUX)
   "   can't avoid the function because that disables the wait for <CR> prompt
   noremap <Leader>t {:keeppatterns /^[^ #]<CR>:call RunTestMoveCursor("<C-r><C-w>")<CR>
   function RunTestMoveCursor(arg)
-    exec "!./run_one_test ".expand("%")." ".a:arg
+    exec "!./run_one_test ".expand("%")." '".a:arg."'"
     exec "normal \<C-o>"
   endfunction
 else