Skip to content

Commit

Permalink
Fixing concurrent execution. It turns out to be a nice (and important…
Browse files Browse the repository at this point in the history
…) feature, to execute more than on reval -- you can pause what you are doing, zoom in on one aspect, then go back to the original regex with the new knoledge intact.
  • Loading branch information
ryanjosephking committed Apr 6, 2012
1 parent 49a4d4d commit 929a7eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/reval
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
vim +"let g:revalinput='${1:-/tmp/revalinput}'" +'call RunReval()'
vim +"let g:revalinput='${1:-/tmp/revalinput$$}'" +'call RunReval()'
2 changes: 1 addition & 1 deletion reval.vim
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func! s:StartOutputFile()
wincmd l
" XXX I want this to be a truly empty buffer, like when you start vim with
" no args:
e /tmp/unused
exec 'e' tempname().'-unused'
setlocal buftype=nofile
syn match revalMatch ''
hi link revalMatch Todo
Expand Down

0 comments on commit 929a7eb

Please sign in to comment.