bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63755: 29.0.91; json-ts-mode tree-sitter query error with tree-sitte


From: Eli Zaretskii
Subject: bug#63755: 29.0.91; json-ts-mode tree-sitter query error with tree-sitter 0.19
Date: Sat, 27 May 2023 20:24:37 +0300

> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]