Permalink
Browse files

Unset s:sparkup in case of error

Besides allowing for a re-detection on next invocation, it will prevent
and error from trying to execute an empty command.
  • Loading branch information...
1 parent f51e2d7 commit f6d74e132b80a22624645ccf78692965ad2329ad @blueyed committed Oct 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 vim/ftplugin/html/sparkup.vim
@@ -54,6 +54,7 @@ function! s:Sparkup()
echohl WarningMsg
echom 'Warning: could not find sparkup/sparkup.py on your path or in your vim runtime path.'
echohl None
+ unlet s:sparkup
return
endif
endif

0 comments on commit f6d74e1

Please sign in to comment.