From: Amin Bandali Date: Sun, 19 May 2019 15:18:43 +0000 (-0400) Subject: emacs: use conf-mode .*rc files, but use sh-mode for .bashrc X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/300b73634c6ef1548b407963508420604886bee4?ds=inline emacs: use conf-mode .*rc files, but use sh-mode for .bashrc --- 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