summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-05-19 11:18:43 -0400
committerAmin Bandali <bandali@gnu.org>2019-05-19 11:30:51 -0400
commit300b73634c6ef1548b407963508420604886bee4 (patch)
tree3c25ebfc9a5e0c6cf994f054a1a4381780527726
parent7f88c32134c8b978a258a880f299891b5b4ec59b (diff)
downloadconfigs-300b73634c6ef1548b407963508420604886bee4.tar.gz
configs-300b73634c6ef1548b407963508420604886bee4.tar.xz
configs-300b73634c6ef1548b407963508420604886bee4.zip
emacs: use conf-mode .*rc files, but use sh-mode for .bashrc
Diffstat (limited to '')
-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 a0b328e..d135772 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -947,6 +947,12 @@ For disabling the behaviour for certain buffers and/or modes."
:hook ((text-mode . indicate-buffer-boundaries-left)
(text-mode . abbrev-mode)))
+(use-feature conf-mode
+ :mode "\\.*rc$")
+
+(use-feature sh-mode
+ :mode "\\.bashrc$")
+
(use-package company
:defer 0.6
:bind