aboutsummaryrefslogtreecommitdiffstats
path: root/oni-cmake.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-02-23 21:40:13 -0800
committerGravatar Tom Willemse2021-02-23 21:40:13 -0800
commit003c955ad9e63f574f03583f0b21f459bd4d9add (patch)
treeffb150a71cf9934abe109435cf24b04ec2e5267e /oni-cmake.el
parent058c6b39ae3692ada8e3bacbe5a446b90fd666e1 (diff)
downloademacs-config-003c955ad9e63f574f03583f0b21f459bd4d9add.tar.gz
emacs-config-003c955ad9e63f574f03583f0b21f459bd4d9add.zip
Enable ‘electric-indent-local-mode’ in CMake
Diffstat (limited to 'oni-cmake.el')
-rw-r--r--oni-cmake.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-cmake.el b/oni-cmake.el
index e50166d..75f3d65 100644
--- a/oni-cmake.el
+++ b/oni-cmake.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0125.121453
+;; Version: 2021.0223.150922
;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake)
;; This program is free software; you can redistribute it and/or modify
@@ -37,6 +37,7 @@
(add-hook 'cmake-mode-hook 'cmake-font-lock-activate)
(add-hook 'cmake-mode-hook 'company-mode)
(add-hook 'cmake-mode-hook 'eldoc-cmake-enable)
+(add-hook 'cmake-mode-hook 'electric-indent-local-mode)
(add-hook 'cmake-mode-hook 'electric-pair-local-mode)
(add-hook 'cmake-mode-hook 'oni-cmake--auto-fill-mode)
(add-hook 'cmake-mode-hook 'rainbow-delimiters-mode)