diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-11-17 13:56:54 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-11-17 17:21:15 -0800 |
commit | eafdbfc103f3e2d539efa31244b2b2c768877775 (patch) | |
tree | 45a9f58ad3c7cda131ca449c9cecdd8682c349c9 | |
parent | 86894ca577c9869698c423db09dc01fa3ac56eb9 (diff) | |
download | mu-eafdbfc103f3e2d539efa31244b2b2c768877775.tar.gz |
5749
Support running a single test when the current function around the cursor ends in '?'.
-rw-r--r-- | vimrc.vim | 2 |
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 |