Skip to content

Commit

Permalink
Still switch to output buffer even if input empty
Browse files Browse the repository at this point in the history
Fixes undefined variable errors
  • Loading branch information
kchmck committed Aug 25, 2013
1 parent 0e80a2c commit 4fce794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ftplugin/coffee.vim
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ function! s:CoffeeCompileToBuf(buf, startline, endline)

" Coffee doesn't like empty input.
if !len(input)
call s:SwitchWindow(a:buf)
return
endif

Expand Down

0 comments on commit 4fce794

Please sign in to comment.