This commit is contained in:
Mars 2024-10-18 19:08:33 -04:00
parent 872d6dc82d
commit 091a9aa7ca
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -393,6 +393,18 @@
:config :config
(setq eldoc-message-function #'ignore (setq eldoc-message-function #'ignore
eldoc-idle-delay 0)) eldoc-idle-delay 0))
(setq my-doxygen-keywords
'("brief" "param" "return" "throws" "author" "version"))
(defun my-additional-doxygen-highlighting ()
(font-lock-add-keywords
nil
(mapcar (lambda (keyword)
`(,(concat "\\(\\\\\\|@\\)" keyword)
1 font-lock-keyword-face))
my-doxygen-keywords)))
(add-hook 'c++-mode-hook 'my-additional-doxygen-highlighting)
#+end_src #+end_src
*** Apheleia *** Apheleia