This grammar implements the INI format.
Example INI file:
[section name]
some_key = some_value
another-key = another value
[another section]
# a comment
some_key = some_value
another-key = another value
See test/corpus/ for more examples.
- Comments must start at column 1. Trailing comments are not supported. (Should they be?)
setting_value
includes whitespace. Should values exclude surrounding whitespace?
Steps to perform a release:
- Bump and tag the version (choose
patch
/minor
/major
as appropriate).npm version patch -m "release %s"
- Bump to prerelease, without creating a tag .
npm version --no-git-tag-version prerelease --preid dev && git add package*.json && git commit -m bump
- Push.
git push --follow-tags
- Release the tagged commit: https://github.com/justinmk/tree-sitter-ini/releases/new