From: Eli Zaretskii <eliz@gnu.org>
To: Jimmy Yuen Ho Wong <wyuenho@gmail.com>, Yuan Fu <casouri@gmail.com>
Cc: 63755@debbugs.gnu.org
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 [thread overview]
Message-ID: <83zg5pit62.fsf@gnu.org> (raw)
In-Reply-To: <m2y1l9aj0d.fsf@MobileCat.localdomain> (message from Jimmy Yuen Ho Wong on Sat, 27 May 2023 16:31:14 +0100)
> 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?
next prev parent reply other threads:[~2023-05-27 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-27 15:31 bug#63755: 29.0.91; json-ts-mode tree-sitter query error with tree-sitter 0.19 Jimmy Yuen Ho Wong
2023-05-27 17:24 ` Eli Zaretskii [this message]
2023-05-27 17:31 ` Jimmy Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zg5pit62.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=63755@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=wyuenho@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.