From 091a9aa7cad972ae11f12c32e2c3e6dbe9ff70ae Mon Sep 17 00:00:00 2001 From: pupbrained Date: Fri, 18 Oct 2024 19:08:33 -0400 Subject: [PATCH] weh --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.org b/config.org index cf2a069..42c5a71 100644 --- a/config.org +++ b/config.org @@ -393,6 +393,18 @@ :config (setq eldoc-message-function #'ignore 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 *** Apheleia