Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Created July 27, 2025 06:23
Show Gist options
  • Save sogaiu/b579c5f8de2c4b64996293c4ca9b5a36 to your computer and use it in GitHub Desktop.
Save sogaiu/b579c5f8de2c4b64996293c4ca9b5a36 to your computer and use it in GitHub Desktop.
tree-sitter doc issues

does anyone else find this section of the docs a little odd?

https://tree-sitter.github.io/tree-sitter/cli/init.html#example

i've only found one tree-sitter.json file that has a tree-sitter array -- most (all?) other tree-sitter.json files seem to have a grammars array.


also, the name key doesn't appear to be mentioned in the same page of the docs -- and iiuc one can get warnings without it (may be it's semi-required?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment