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

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

bug#60355: 29.0.60; Tree sitter incorrectly handles of PRED for treesit-


From: Yuan Fu
Subject: bug#60355: 29.0.60; Tree sitter incorrectly handles of PRED for treesit-defun-type-regexp
Date: Wed, 28 Dec 2022 00:34:37 -0800


> On Dec 27, 2022, at 10:31 PM, Wilhelm H Kirschbaum <wkirschbaum@gmail.com> 
> wrote:
> 
> 
> Thanks Yuan, just checked and both the fix and your suggestion works.
> 
> I see there is a typo in your last change:
> 
> @@ -310,7 +310,7 @@ java-ts-mode
>  ;; Imenu.
>  (setq-local treesit-simple-imenu-settings
>              '(("Class" "\\`class_declaration\\'" nil nil)
> -                ("Interface "\\`interface_declaration\\'" nil                
>  nil)
> +                ("Interface" "\\`interface_declaration\\'" nil nil)
>                ("Enum" "\\`record_declaration\\'" nil nil)
>                ("Method" "\\`method_declaration\\'" nil nil)))
>  (treesit-major-mode-setup))

Oops, was in a bit of hurry and forgot to byte-compile. Thanks for the catch!

Yuan




reply via email to

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