aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-04-09 08:38:23 +0200
committerMattias Andrée <maandree@kth.se>2022-04-09 08:38:23 +0200
commit6eb622f625d3eafe44614ff07faba5fc6c439e47 (patch)
tree383c0b465f052d29d9a08d00866842aa44c543cc
parentImprove new-c-proj (diff)
downloaddotfiles-6eb622f625d3eafe44614ff07faba5fc6c439e47.tar.gz
dotfiles-6eb622f625d3eafe44614ff07faba5fc6c439e47.tar.bz2
dotfiles-6eb622f625d3eafe44614ff07faba5fc6c439e47.tar.xz
emacs: restore comment colour to red
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6ef9006..a807fa7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -32,6 +32,8 @@
; '(default ((t (:background "#101064" :foreground "#FFFFFF"))))
; '(fringe ((t (:background "#101064")))))
+(set-face-foreground 'font-lock-comment-face "red")
+
(add-hook 'after-change-major-mode-hook (lambda() (electric-indent-mode -1)))
(add-hook 'c-mode-hook (lambda () (electric-indent-local-mode)))