]> git.eshelyaron.com Git - emacs.git/commit
Fontify doxygen support to 'c-ts-mode', 'c++-ts-mode' and 'java-ts-mode'
authorVincenzo Pupillo <vincenzo.pupillo@unimi.it>
Mon, 1 Jul 2024 10:34:01 +0000 (12:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jul 2024 20:07:19 +0000 (22:07 +0200)
commit88cee3d4c7d168c3372ea28e7d3fb20726841ab2
tree11392d4508072e2b3ec35f013de152207928ee91
parent502adcb79e3c233f97d211955a5756baf062a166
Fontify doxygen support to 'c-ts-mode', 'c++-ts-mode' and 'java-ts-mode'

Add doxygen support to 'c-ts-mode', 'c++-ts-mode' and
'java-ts-mode' using tree-sitter-doxygen from
github.com/tree-sitter-grammars.
* lisp/progmodes/c-ts-common.el
(c-ts-mode-doxygen-comment-font-lock-settings): Add font locking
rules for doxygen comment.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--feature-list): Add
'document' feature.
(c-ts-mode--doxygen-comment-regex): New regular expression for
doxygen comments.
(c-ts-mode, c++-ts-mode): Add support for doxygen parser.
* lisp/progmodes/java-ts-mode.el (java-ts-mode): Add support for
doxygen parser.  (Bug#71874)

(cherry picked from commit c77a9b934bc1120c7726d271bbd4ada178cf8c2d)
lisp/progmodes/c-ts-common.el
lisp/progmodes/c-ts-mode.el
lisp/progmodes/java-ts-mode.el