Skip to content

Commit

Permalink
Bug listed
Browse files Browse the repository at this point in the history
  • Loading branch information
pedsm committed Feb 19, 2017
1 parent 23daff4 commit 8ca3d8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ If you want Sprint not to open the quickfix window and you rather open it manual
``` vimL
let g:SprintHidden = 1
```
## Known Bugs

- SprintForceRun will stop a running program but not start the following unless used twice.

#### To-do
Pull requests are helpful and the code base is small
Expand Down
4 changes: 2 additions & 2 deletions plugin/sprint.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
" Sprint function
let g:SprintForceRun = 1
function! Sprint()
w
if exists("g:SprintForceRun")
if g:SprintForceRun
AsyncStop
AsyncStop!
endif
endif
w
if (&ft=='c')
AsyncRun echo "Running C compiler"; gcc % ; ./a.out
endif
Expand Down

0 comments on commit 8ca3d8e

Please sign in to comment.