diff --git a/syntax_checkers/javascript.vim b/syntax_checkers/javascript.vim index bcc8da67..61f9cd88 100644 --- a/syntax_checkers/javascript.vim +++ b/syntax_checkers/javascript.vim @@ -19,5 +19,5 @@ if exists("loaded_javascript_syntax_checker") endif let loaded_javascript_syntax_checker = 1 -let s:supported_checkers = ["gjslint", "jslint", "jsl", "jshint", "gcc"] +let s:supported_checkers = ["gjslint", "jslint", "jsl", "jshint", "closurecompiler"] call SyntasticLoadChecker(s:supported_checkers, 'javascript') diff --git a/syntax_checkers/javascript/gcc.vim b/syntax_checkers/javascript/closurecompiler.vim similarity index 91% rename from syntax_checkers/javascript/gcc.vim rename to syntax_checkers/javascript/closurecompiler.vim index 69cd8b5b..51b51238 100644 --- a/syntax_checkers/javascript/gcc.vim +++ b/syntax_checkers/javascript/closurecompiler.vim @@ -1,5 +1,5 @@ "============================================================================ -"File: gcc.vim +"File: closurecompiler.vim "Description: Javascript syntax checker - using Google Closure Compiler "Maintainer: Motohiro Takayama "License: This program is free software. It comes without any warranty, @@ -9,9 +9,9 @@ " See http://sam.zoy.org/wtfpl/COPYING for more details. "============================================================================ " -" To enable this plugin, edit the .vimc like this: +" To enable this plugin, edit the .vimrc like this: " -" let g:syntastic_javascript_checker = "gcc" +" let g:syntastic_javascript_checker = "closurecompiler" " " and set the path to the Google Closure Compiler: "