Skip to content

Commit b2260d9

Browse files
committed
fix: tree-sitter.json now obeys upstream schema
`name` is not allowed to contain `-`'s, see <https://github.com/tree-sitter/tree-sitter/blob/v0.26.5/docs/src/assets/schemas/config.schema.json#L13-L17>. Alternatively, would it be better to relax the regex upstream? This is not the only repo with this issue, see <tree-sitter/tree-sitter-ql-dbscheme#7>.
1 parent f05a2ca commit b2260d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tree-sitter.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json",
23
"grammars": [
34
{
4-
"name": "c-sharp",
5+
"name": "c_sharp",
56
"camelcase": "CSharp",
67
"scope": "source.cs",
78
"path": ".",

0 commit comments

Comments
 (0)