ts-parsers/tree-sitter-ini
2024-05-24 00:23:58 +01:00
..
bindings initial commit 2024-05-24 00:23:58 +01:00
queries initial commit 2024-05-24 00:23:58 +01:00
src initial commit 2024-05-24 00:23:58 +01:00
target initial commit 2024-05-24 00:23:58 +01:00
test/corpus initial commit 2024-05-24 00:23:58 +01:00
.gitignore initial commit 2024-05-24 00:23:58 +01:00
binding.gyp initial commit 2024-05-24 00:23:58 +01:00
Cargo.lock initial commit 2024-05-24 00:23:58 +01:00
Cargo.toml initial commit 2024-05-24 00:23:58 +01:00
grammar.js initial commit 2024-05-24 00:23:58 +01:00
LICENSE initial commit 2024-05-24 00:23:58 +01:00
notes.md initial commit 2024-05-24 00:23:58 +01:00
package-lock.json initial commit 2024-05-24 00:23:58 +01:00
package.json initial commit 2024-05-24 00:23:58 +01:00
README.md initial commit 2024-05-24 00:23:58 +01:00
test-awsconfig initial commit 2024-05-24 00:23:58 +01:00

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

Reference

Release

Steps to perform a release:

  1. Bump and tag the version (choose patch/minor/major as appropriate).
    npm version patch -m "release %s"
    
  2. Bump to prerelease, without creating a tag .
    npm version --no-git-tag-version prerelease --preid dev && git add package*.json && git commit -m bump
    
  3. Push.
    git push --follow-tags
    
  4. Release the tagged commit: https://github.com/justinmk/tree-sitter-ini/releases/new