Closed
Description
Problem
tree-sitter test
warned me
Warning: you should add a `tree-sitter-tags` entry pointing to the highlights path in `tree-sitter` language list in the grammar's package.json
See more here: https://tree-sitter.github.io/tree-sitter/syntax-highlighting#query-paths
Not only does the content at that URL never mention "tree-sitter-tags", but the fix isn't to put anything in package.json
but instead tree-sitter.json
Steps to reproduce
- clone kylegoetz/tree-sitter-unison
- create test/tags
- put "sample.u" into that directory
- run
tree-sitter test
- observe error message
Expected behavior
That error message is more helpful, directs to a useful URL, and explains which file should be edited. I think package.json used to be where TS config stuff went, but now there's a tree-sitter.json
that the config goes in. Right?
Tree-sitter version (tree-sitter --version)
0.24.3
Operating system/version
macOS 15
Activity