]> git.eshelyaron.com Git - emacs.git/commit
Fontify C++ function definitions in c-ts-mode (bug#60529)
authorDaniel Martín <mardani29@yahoo.es>
Tue, 3 Jan 2023 21:08:13 +0000 (22:08 +0100)
committerYuan Fu <casouri@gmail.com>
Wed, 4 Jan 2023 07:04:32 +0000 (00:04 -0700)
commitc786afcbb9f5c4edf845beae08bdaa11d168a42f
tree7d95e9dd42b6c176b61411ab6648a1259afe03c3
parent0d98fac6bbc19c7728d42d6196adf4d392ba3132
Fontify C++ function definitions in c-ts-mode (bug#60529)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--declarator-identifier):
Teach the code how to extract the declarator of a node of type
"qualified_identifier".
(c-ts-mode--fontify-declarator): Consider the case where the
identifier in a function declarator is buried inside
"qualifier_identifier" nodes.
lisp/progmodes/c-ts-mode.el