Closed
Description
Problem
Issues that should be fixed and backported to 0.24:
- The grammar name is in
snake_case
but some files expectkebab-case
Makefile
CMakeLists.txt
bindings/rust/build.rs
bindings/node/index.js
bindings/c/*.h
(filename)bindings/c/*.pc.in
(contents+filename)
- The
scope
should allow dashes ([\\w-]
) - The default
file-types
should not start with a dot - Comma-separated
file-types
do not get separated
Expected behavior
Enhancements that can be made for 0.25:
- Add a
verbose
name for thedescription
and error messages - Take
file-types
into account forinjection-regex
- Add a funding link for
package.json
&pyproject.toml
"funding": "{}",
"Funding" = "{}"
- Don't write the default
bindings
object - Allow specifying a custom
class-name
"class-name": {
"type": "string",
"pattern": "^TreeSitter\\w+$",
"description": "The class name for the Swift, Java & Kotlin bindings"
}
Activity