Fix sh-mode autoload

This commit is contained in:
Henrik Lissner 2016-05-18 22:32:04 -04:00
parent 46a3cbc621
commit 4d23e9742c

View file

@ -1,9 +1,9 @@
;;; module-sh.el ;;; module-sh.el
(use-package sh-script (use-package sh-script
:mode ("\\.\\(ba\\|z\\)sh$" :mode (("\\.\\(ba\\|z\\)sh$" . sh-mode)
"/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" ("/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" . sh-mode)
"/\\.?bash\\(/.*\\|rc\\|_profile\\)$") ("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode))
:init :init
(add-hook! sh-mode (add-hook! sh-mode
'(flycheck-mode narf|sh-extra-font-lock-activate)) '(flycheck-mode narf|sh-extra-font-lock-activate))