1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Use documentation mark-up face for 'tag_name' node in document block.

Embedded documentation mark-up should be used for 'tag_name' in
documentation blocks (thanks to Protesilaos Stavrou).

* lisp/progmodes/c-ts-common.el
(c-ts-mode-doxygen-comment-font-lock-settings):
* lisp/progmodes/js.el (js--treesit-font-lock-settings):
* lisp/progmodes/php-ts-mode.el
(php-ts-mode--phpdoc-font-lock-settings): Replace 'font-lock-constant-face'
with 'font-lock-doc-markup-face' (bug#79856).
This commit is contained in:
Vincenzo Pupillo 2025-11-17 23:01:03 +01:00 committed by Juri Linkov
parent bbd9727aa8
commit 5cef0f9c2f
3 changed files with 3 additions and 3 deletions

View file

@ -1213,7 +1213,7 @@ function is called. Subsequent calls return the first evaluated value."
:language 'phpdoc
:feature 'attribute
:override t
`((tag_name) @font-lock-constant-face
`((tag_name) @font-lock-doc-markup-face
(uri) @font-lock-doc-markup-face
(tag
[(version) (email_address)] @font-lock-doc-markup-face)