diff options
author | 2019-11-25 23:19:49 -0800 | |
---|---|---|
committer | 2019-11-25 23:21:29 -0800 | |
commit | b0a6eb533b9fb482101c41705a51ae3c1ade896b (patch) | |
tree | 233d5f3ae9fd5a8a6864025ed4565e147d361494 | |
parent | 13339cbc242a75b1312adccf714dcb8841c20e25 (diff) | |
download | emacs-config-b0a6eb533b9fb482101c41705a51ae3c1ade896b.tar.gz emacs-config-b0a6eb533b9fb482101c41705a51ae3c1ade896b.zip |
Fix enabling ‘sh-mode’ for ‘PKGBUILD’ files
-rw-r--r-- | oni-sh.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |