.. | ||
bindings | ||
queries | ||
src | ||
target | ||
test/corpus | ||
.gitignore | ||
binding.gyp | ||
Cargo.lock | ||
Cargo.toml | ||
grammar.js | ||
LICENSE | ||
notes.md | ||
package-lock.json | ||
package.json | ||
README.md | ||
test-awsconfig |
tree-sitter-ini
This grammar implements the INI format.
Overview
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.
Notes
- Comments must start at column 1. Trailing comments are not supported. (Should they be?)
Known issues
setting_value
includes whitespace. Should values exclude surrounding whitespace?
Reference
Release
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