[Top][All Lists]

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

Re: c-ts-mode

From: Eli Zaretskii
Subject: Re: c-ts-mode
Date: Thu, 07 Sep 2023 21:32:01 +0300

> From: João Távora <joaotavora@gmail.com>
> Date: Thu, 7 Sep 2023 19:23:33 +0100
> Cc: casouri@gmail.com, spacibba@aol.com, emacs-devel@gnu.org
> The real challenge is writing the rules themselves.  I'm missing
> a kind of "debug rule" that doesn't do anything but prints out
> contextual information from the node, parent-node, grandparents.
> I made one but it's not very good.  Is there something like that?
> Wouldn't even need to be an indentation rule, more like a "describe
> AST at point"...

Did you try "M-x treesit-explore-mode RET"?

reply via email to

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