From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Date: Sat, 27 May 2023 16:31:14 +0100
Reproduction:
1. echo '{ "hello" : 1 }' > test.json
2. open /path/to/ns-port-emacs-29 ./test.json --args -q
3. M-x json-ts-mode
4. Observe font-lock is not working in the buffer and the following
message in the *Messages* buffer:
```
Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 2 "(comment) @font-lock-comment-face" "Debug the query with `treesit-query-validate'")
```
I cannot reproduce this: the font-lock works fine for me, and I see no
error messages in *Messages*.
Maybe your JSON grammar is not the latest one or something?
Yuan, could you please look into this?