This commit is contained in:
Mars 2024-10-19 22:02:34 -04:00
parent 091a9aa7ca
commit 601a76bff3
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -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