]> git.eshelyaron.com Git - emacs.git/commit
Treat C++ classes as defuns in C Tree-sitter mode (bug#60047)
authorDaniel Martín <mardani29@yahoo.es>
Tue, 13 Dec 2022 20:35:40 +0000 (21:35 +0100)
committerYuan Fu <casouri@gmail.com>
Wed, 14 Dec 2022 19:42:58 +0000 (11:42 -0800)
commit3b226b60248d47c5fbd9d04aa01d56f3222e0669
tree7daf93bd48bfc5412d900820efe89711e226ca56
parent480f41c7deb4d3a45a862a5308950b35085f835d
Treat C++ classes as defuns in C Tree-sitter mode (bug#60047)

* lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Add "class_specifier"
as a node of type "defun".
lisp/progmodes/c-ts-mode.el