aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 46f2292..c0cc2f7 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -492,6 +492,9 @@
(add-hook 'c-mode-common-hook 'hs-minor-mode t)
(add-hook 'c-mode-common-hook 'hs-hide-initial-comment-block t)
+(defun disable-electric-indent-mode ()
+ (electric-indent-local-mode -1))
+(add-hook 'c-mode-common-hook 'disable-electric-indent-mode t)
(use-package ace-jump-mode
:ensure t