From eafdbfc103f3e2d539efa31244b2b2c768877775 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 17 Nov 2019 13:56:54 -0800 Subject: 5749 Support running a single test when the current function around the cursor ends in '?'. --- vimrc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 prompt noremap t {:keeppatterns /^[^ #]:call RunTestMoveCursor("") function RunTestMoveCursor(arg) - exec "!./run_one_test ".expand("%")." ".a:arg + exec "!./run_one_test ".expand("%")." '".a:arg."'" exec "normal \" endfunction else -- cgit 1.4.1-2-gfad0