From 300b73634c6ef1548b407963508420604886bee4 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 19 May 2019 11:18:43 -0400 Subject: [PATCH 1/1] emacs: use conf-mode .*rc files, but use sh-mode for .bashrc --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1