Syntax highlighting for human-readable key:value databases
Vim script
Switch branches/tags
Nothing to show
Latest commit 6bde0b6 Nov 18, 2013 @jwcxz jwcxz initial check-in
Permalink
Failed to load latest commit information.
syntax initial check-in Nov 18, 2013
README.md initial check-in Nov 18, 2013
vdb.png initial check-in Nov 18, 2013

README.md

vdb syntax

JWC :: jwcxz.com

This is a simple set of highlighting rules for files consisting of key:value pairs, plus some highlighting for indentation.

Format looks like this:

first level
    second level
        third level
            keytype1: value
            keytype2# value

Note that two different symbols are defined: : and #. It's easy enough to add some more. I use this to define information that I care about and don't care about. This usually goes nicely with fdm=indent.

screenshot