Fix sh-mode autoload
This commit is contained in:
parent
46a3cbc621
commit
4d23e9742c
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
;;; module-sh.el
|
||||
|
||||
(use-package sh-script
|
||||
:mode ("\\.\\(ba\\|z\\)sh$"
|
||||
"/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$"
|
||||
"/\\.?bash\\(/.*\\|rc\\|_profile\\)$")
|
||||
:mode (("\\.\\(ba\\|z\\)sh$" . sh-mode)
|
||||
("/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" . sh-mode)
|
||||
("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode))
|
||||
:init
|
||||
(add-hook! sh-mode
|
||||
'(flycheck-mode narf|sh-extra-font-lock-activate))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue