Emacs: Highlight code blocks in doxygen comments.

This commit is contained in:
tastytea 2020-03-27 16:44:58 +01:00
parent eae07712e3
commit e85bb766d7
1 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-03-27T13:52:06+0100>
;; Time-stamp: <2020-03-27T16:43:49+0100>
;;; Commentary:
@ -49,11 +49,8 @@
:custom-face
(highlight-doxygen-comment ((t (:inherit font-lock-comment-face
:foreground "#667788"))))
(highlight-doxygen-code-block ((t (:inherit highlight-doxygen-comment-face))))
:hook
(prog-mode . highlight-doxygen-mode)
)
(highlight-doxygen-code-block ((t (nil)))) ; Disable background-color.
:hook (prog-mode . highlight-doxygen-mode))
;; Set coding style.
(use-package cc-mode