[Top][All Lists]

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

Re: bug#61142: Acknowledgement (29.0.60; java-ts-mode - Wrong indentatio

From: 太阳
Subject: Re: bug#61142: Acknowledgement (29.0.60; java-ts-mode - Wrong indentation for the body of multiple lines conditions)
Date: Wed, 01 Feb 2023 08:46:28 +0000
User-agent: Vivaldi Mail/1.3.2867.58

After reading treesit's manual, I found that we can use `n-p-gp` as the matcher 
and `grand-parent` as the anchor to match the body of `if` (and `while`, which 
has a similar issue). 

I mean a rule looks like the following:
((n-p-gp nil "block" "if_statement") grand-parent java-ts-mode-indent-offset)

GNU bug Tracking System 在 2023年01月29日 星期日 16时33分03秒 (+08:00) 写道:

> Thank you for filing a new bug report with


> This is an automatically generated reply to let you know your message

> has been received.


> Your message is being forwarded to the package maintainers and other

> interested parties for their attention; they will reply in due course.


> Your message has been sent to the package maintainer(s):



> If you wish to submit further information on this problem, please

> send it to


> Please do not send mail to unless you wish

> to report a problem with the Bug-tracking system.


发送自 Vivaldi 邮件。访问 免费下载

reply via email to

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