]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/syntax_checkers/json.vim
Update the stuff
[rbdr/dotfiles] / vim / syntax_checkers / json.vim
CommitLineData
0d23b6e5
BB
1"============================================================================
2"File: json.vim
3"Description: Figures out which json syntax checker (if any) to load
4" from the json directory.
5"Maintainer: Miller Medeiros <contact at millermedeiros 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_json_checker option to specify which jsonlint executable
13" should be used (see below for a list of supported checkers).
14" If g:syntastic_json_checker is not set, just use the first syntax
15" checker that we find installed.
16"============================================================================
17if exists("loaded_json_syntax_checker")
18 finish
19endif
20let loaded_json_syntax_checker = 1
21
22let s:supported_checkers = ["jsonlint", "jsonval"]
23call SyntasticLoadChecker(s:supported_checkers)