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: Daniel Martín
Subject: bug#60047: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode
Date: Tue, 13 Dec 2022 21:44:28 +0100

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.

Attachment: 0001-Treat-C-classes-as-defuns-in-C-Tree-sitter-mode.patch
Description: Text Data


reply via email to

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