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