]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/syntax_checkers/javascript.vim
Add weechat, ack, git and nethack
[rbdr/dotfiles] / vim / syntax_checkers / javascript.vim
CommitLineData
0d23b6e5
BB
1"============================================================================
2"File: javascript.vim
3"Description: Figures out which javascript syntax checker (if any) to load
4" from the javascript directory.
5"Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
6"License: This program is free software. It comes without any warranty,
7" to the extent permitted by applicable law. You can redistribute
8" it and/or modify it under the terms of the Do What The Fuck You
9" Want To Public License, Version 2, as published by Sam Hocevar.
10" See http://sam.zoy.org/wtfpl/COPYING for more details.
11"
12" Use g:syntastic_javascript_checker option to specify which jslint executable
13" should be used (see below for a list of supported checkers).
14" If g:syntastic_javascript_checker is not set, just use the first syntax
15" checker that we find installed.
16"============================================================================
17if exists("loaded_javascript_syntax_checker")
18 finish
19endif
20let loaded_javascript_syntax_checker = 1
21
22let s:supported_checkers = ["gjslint", "jslint", "jsl", "jshint"]
23call SyntasticLoadChecker(s:supported_checkers)