]> git.eshelyaron.com Git - emacs.git/commit
Support namespaces in c++-ts-mode (bug#60397)
authorYuan Fu <casouri@gmail.com>
Sat, 7 Jan 2023 23:45:05 +0000 (15:45 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 8 Jan 2023 00:14:12 +0000 (16:14 -0800)
commit7c356934fbb07d6b0f267f8d21ffc9b3f7d9d1c3
treef7f15eb3d9bad06e3826268fb6d5cb47b7bac7a8
parent757c2c25922e9c9dea33dd34f0112b631ea5c208
Support namespaces in c++-ts-mode (bug#60397)

Not a complete fix.  See the next commit.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Add rules.
(c-ts-mode--defun-name): Add namespace_definition.
(c-ts-base-mode): Add namespace_definition to
treesit-defun-type-regexp.
lisp/progmodes/c-ts-mode.el