Last Updated: February 25, 2016·
Vim: 'errorformat' setting for JSON syntax checker
I was inspired by Rodrigo's tip and noticed this Python module provides enough information for validating a JSON file.
I often edit JSON file as a Chef data bag, therefore I configured Vim like this:
You can check a JSON syntax like this:
Gist is also available: https://gist.github.com/4459707
Written by Tacahiroy
Basic Vim commands - For getting started
Format JSON in vim
Have a fresh tip? Share with Coderwall community!
Post a tip
Best #Vim Authors
Sponsored by #native_company# — Learn More