coffee-check.vim : Automatic CoffeeScript syntax validation checker for Vim
| script karma
Downloaded by 268
Comments, bugs, improvements
script versions (upload new version)
|wei ko kao|
|It is hard to find out where is you script error if you use CoffeeScript plugin for RequireJS. This Vim plugin is design to help reduce the effect of this issue, it will check the code syntax base on CoffeeScript compiler everytime when you save a coffee file automatically.
node: used to compile coffee script.
Important (Known Issues)
Only one error appears in every check, if you have several error in your script, you will have to fix one by one.
Some error message can't locate to correct line number, all this kind of error will mark to line 1.
Cause of previous issue, can't use the behavior of jslint.vim. So Vim will open quickfix window if any error was found, side effect of open a quikfix window is the focus will be moved to quick fix window.
Thanks for the base of jslint.vim by Jesse Hallett.
Release under MIT License.
|Use pathogen.vim or Vundle is suggestion, Github: https://github.com/othree/coffee-check.vim
If you didn't install vim-coffee-script: http://www.vim.org/scripts/script.php?script_id=3590
Add the following line to vimrc:
au BufRead,BufNewFile *.coffee set ft=coffee
Click on the package to download.
ip used for rating: 126.96.36.199