aboutsummaryrefslogtreecommitdiffstats
path: root/oni-sh.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-11-25 23:19:49 -0800
committerGravatar Tom Willemse2019-11-25 23:21:29 -0800
commitb0a6eb533b9fb482101c41705a51ae3c1ade896b (patch)
tree233d5f3ae9fd5a8a6864025ed4565e147d361494 /oni-sh.el
parent13339cbc242a75b1312adccf714dcb8841c20e25 (diff)
downloademacs-config-b0a6eb533b9fb482101c41705a51ae3c1ade896b.tar.gz
emacs-config-b0a6eb533b9fb482101c41705a51ae3c1ade896b.zip
Fix enabling ‘sh-mode’ for ‘PKGBUILD’ files
Diffstat (limited to 'oni-sh.el')
-rw-r--r--oni-sh.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-sh.el b/oni-sh.el
index 2a45411..a5ef1c5 100644
--- a/oni-sh.el
+++ b/oni-sh.el
@@ -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))