emacs: use conf-mode .*rc files, but use sh-mode for .bashrc
authorAmin Bandali <bandali@gnu.org>
Sun, 19 May 2019 15:18:43 +0000 (11:18 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 19 May 2019 15:30:51 +0000 (11:30 -0400)
.emacs.d/init.el

index a0b328e..d135772 100644 (file)
@@ -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