Commits

Taylor Venable committed 7fdb9f2

Change the face used for documentation comments under Sanity Inc's tomorrow themes

Comments (0)

Files changed (1)

 ;; (set-face-attribute 'mode-line-highlight    nil :box nil :foreground "Firebrick")
 ;; (set-face-attribute 'mode-line-inactive     nil :background "grey90" :box nil)
 
+(add-hook 'c-mode-hook
+  (lambda ()
+    (if (cl-find-if (lambda (x) (string-prefix-p "sanityinc-tomorrow-" x))
+		    (mapcar (lambda (x) (symbol-name x)) custom-enabled-themes))
+	(setq c-doc-face-name 'font-lock-doc-string-face)
+      (setq c-doc-face-name 'font-lock-doc-face))))
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
 ;;  Diff Colors (Not Needed Anymore)
 ;;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
-(require 'cc-mode)
+;; (require 'cc-mode)
 
 (defconst doxygen-font-lock-keywords
   `((,(lambda (limit)