From d769273bcc5092b634d5687e95bb4b91a76d5482 Mon Sep 17 00:00:00 2001 From: Joshua Hoff Date: Mon, 1 Apr 2013 20:33:58 -0500 Subject: [PATCH] update the default coffeescript checker No need to generate a file when linting, as the coffeescript compiler will do that for you. This has been tested with coffeescript 1.6.2. Also: use options over flags for readibility --- syntax_checkers/coffee/coffee.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/coffee/coffee.vim b/syntax_checkers/coffee/coffee.vim index e5ab5790..256c374c 100644 --- a/syntax_checkers/coffee/coffee.vim +++ b/syntax_checkers/coffee/coffee.vim @@ -21,7 +21,7 @@ endfunction function! SyntaxCheckers_coffee_coffee_GetLocList() let makeprg = syntastic#makeprg#build({ \ 'exe': 'coffee', - \ 'args': '-c -l -o /tmp', + \ 'args': '--lint', \ 'subchecker': 'coffee' }) let errorformat = '%E%f:%l:%c: %trror: %m,' . \ 'Syntax%trror: In %f\, %m on line %l,' .