1
0
Fork 0

Fix enabling ‘sh-mode’ for ‘PKGBUILD’ files

This commit is contained in:
Tom Willemse 2019-11-25 23:19:49 -08:00
parent 13339cbc24
commit b0a6eb533b

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2019.1119.220233
;; Version: 2019.1125.232102
;; Package-Requires: (reformatter oni-flycheck oni-fci)
;; This program is free software; you can redistribute it and/or modify
@ -49,6 +49,7 @@
(add-hook 'sh-mode-hook 'flycheck-mode)
(add-hook 'sh-mode-hook 'shfmt-on-save-mode)
;;;###autoload
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . sh-mode))
;;;###autoload(with-eval-after-load 'sh-script (require 'oni-sh))