Install jsonlint
to act as syntastic json checker:
$ npm install jsonlint -g
Tell syntatastic about it:
" in your ~/.vimrc
let g:syntastic_json_checkers = ['jsonlint']
Get some syntax highlighting (also covers ftdetect to set json filetype)
" in your ~/.vimrc
Bundle 'elzr/vim-json'
" Disable fancy concealing of attribute quotes.
let g:vim_json_syntax_conceal = 0
The
vim-json
plugin just updated with a fix for theUndefined variable: g:vim_json_warnings
. elzr/vim-json#32