From 67ecc65223634e26a017a03b9e6676fb3c6d8f3b Mon Sep 17 00:00:00 2001 From: Michael Hart Date: Wed, 5 Jun 2013 18:25:54 +1000 Subject: [PATCH] Change coffee arg from -c to -t to prevent JS file pollution The -t flag will output tokens (and syntax errors if there are any) - it is quite a lot quicker than another alternative, -n, especially for large files. --- 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 1ad50a13..00720152 100644 --- a/syntax_checkers/coffee/coffee.vim +++ b/syntax_checkers/coffee/coffee.vim @@ -25,7 +25,7 @@ function! SyntaxCheckers_coffee_coffee_GetLocList() " Sadly, Vim doesn't have a function to create temporary directories. let makeprg = syntastic#makeprg#build({ \ 'exe': 'coffee', - \ 'args': '-c', + \ 'args': '-t', \ 'filetype': 'coffee', \ 'subchecker': 'coffee' })