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

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

bug#60047: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode


From: Yuan Fu
Subject: bug#60047: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode
Date: Tue, 13 Dec 2022 18:12:02 -0800

Daniel Martín <mardani29@yahoo.es> writes:

> Tags: patch
>
>
> The attached patch makes C-M-a/C-M-e inside a C++ class definition in
> c++-ts-mode go to the beginning or the end of the class, respectively.
>
> I've added it to the base mode because I think it's harmless for C, and
> it can be convenient if we implement an Obj-C mode based on Tree-sitter.
>
> Thanks.
>

Applied, thanks!

Yuan





reply via email to

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