tomtom / checksyntax_vim

Check a file's syntax when saving a file (php, ruby, tex ...) with vim
http://www.vim.org/scripts/script.php?script_id=1431
GNU General Public License v3.0
94 stars 9 forks source link

coffeelint #9

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hi, It's really a nice plugin to improve code quality in vim. Coffee-script is getting popular, so should we add cofffeelint to our plugin ?

tomtom commented 12 years ago

I don't use coffeescript. You'd have to help me on this and provide the command line and the error expression to parse coffeelint's output.

ghost commented 12 years ago

When I found your script, I searched the code quality tool for coffeescript so I just found coffeelint yesterday. But I think it's well documented, you can take a look here : http://www.coffeelint.org/

If there is anything I can help, please just post :)

Thanks for your great work !

tomtom commented 12 years ago

I'd recommend you create a compiler plugin for coffeelint first. I currently don't have the time to install nodejs + coffeescript + coffeelint etc. and find an error expression. It seems https://github.com/kchmck/vim-coffee-script/ has support for coffeelint.

tomtom commented 12 years ago

You could also try this approach: https://github.com/tomtom/checksyntax_vim/issues/14#issuecomment-7692095