This commit is contained in:
Kartik Agaram 2019-09-07 23:47:18 -07:00
parent 6fb244a788
commit ac4839899a
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ if empty($TMUX)
" can't put final cursor movement out of function because that disables the wait for <CR> prompt; function must be final operation of map
" can't avoid the function because that disables the wait for <CR> prompt
" known issue:
" cursor on '#' causes error
" can't handle comments at start of current test
noremap <Leader>t {j0:call RunTestMoveCursor("<C-r><C-w>")<CR>
function RunTestMoveCursor(arg)
let l:arg = a:arg == "#" ? " " : a:arg " Vim's '!' insists on interpreting '#' anywhere in its arg