From 0d1fb1132c2783ff49f1d9ff2018acb9dd1375eb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 2 Oct 2016 23:29:23 +0200 Subject: [PATCH] Associate sh-mode with bspwmrc and xinitrc --- modules/module-sh.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/module-sh.el b/modules/module-sh.el index ad2daaa8f..10bbc2648 100644 --- a/modules/module-sh.el +++ b/modules/module-sh.el @@ -3,7 +3,9 @@ (use-package sh-script :mode (("\\.\\(ba\\|z\\)sh$" . sh-mode) ("/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" . sh-mode) - ("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode)) + ("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode) + ("/\\.?xinitrc$" . sh-mode) + ("/bspwmrc$" . sh-mode)) :init (add-hook! sh-mode '(flycheck-mode doom|sh-extra-font-lock-activate)) :config (def-company-backend! sh-mode (shell))