summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 11e4fb2..e8be641 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -786,6 +786,12 @@ Effectively a very simple light/dark theme toggle switch."
(add-hook 'tex-mode-hook #'auto-fill-mode)
(add-hook 'tex-mode-hook #'flyspell-mode)
+(run-with-idle-timer 0.5 nil #'require 'cmake-mode)
+(with-eval-after-load 'cmake-mode
+ (setq cmake-tab-width 4)
+ (add-to-list 'load-path (b/lisp "cmake-font-lock"))
+ (run-with-idle-timer 0.5 nil #'require 'cmake-font-lock))
+
;;; Emacs enhancements & auxiliary packages