From 601a76bff39d6e5fdd655f8cf027fd9ba9ba068c Mon Sep 17 00:00:00 2001 From: pupbrained Date: Sat, 19 Oct 2024 22:02:34 -0400 Subject: [PATCH] finally --- config.org | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/config.org b/config.org index 42c5a71..4af56f8 100644 --- a/config.org +++ b/config.org @@ -141,7 +141,6 @@ (derived-mode-p 'dired-mode)))) :hook (dashboard-mode . centaur-tabs-local-mode) - (treemacs-mode . centaur-tabs-local-mode) (spacemacs-buffer-mode . centaur-tabs-local-mode) (term-mode . centaur-tabs-local-mode) (calendar-mode . centaur-tabs-local-mode) @@ -393,18 +392,6 @@ :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 @@ -432,6 +419,16 @@ (use-package tree-sitter-langs :ensure t) + + (use-package highlight-doxygen + :ensure (highlight-doxygen :type git :host github :repo "pupbrained/highlight-doxygen") + :config + (custom-set-faces + '(highlight-doxygen-comment + ((t :inherit font-lock-comment-face))) + '(highlight-doxygen-code-block + ((t :inherit font-lock-type-face))) + (highlight-doxygen-global-mode 1))) #+end_src *** GitHub Copilot