Improve doxygen font-lock rules in c-ts-mode (bug#75012)
And also c++-ts-mode. * lisp/progmodes/c-ts-common.el: (c-ts-mode-doxygen-comment-font-lock-settings): Add rules for type, storageclass and note/warning/error tags. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
a9c1620809
commit
752ba27425
1 changed files with 6 additions and 1 deletions
|
|
@ -397,7 +397,12 @@ and /* */ comments. SOFT works the same as in
|
|||
:override t
|
||||
:feature 'keyword
|
||||
'((tag_name) @font-lock-constant-face
|
||||
(storageclass) @font-lock-constant-face)
|
||||
(type) @font-lock-type-face
|
||||
(emphasis) @bold
|
||||
((tag_name) @bold (:match ".note" @bold))
|
||||
((tag_name) @warning (:match ".warning" @warning))
|
||||
((tag_name) @error (:match ".error" @error))
|
||||
(storageclass) @font-lock-keyword-face)
|
||||
|
||||
:language 'doxygen
|
||||
:override t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue