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

View File

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