diff options
author | Tom Willemse | 2019-11-19 22:02:50 -0800 |
---|---|---|
committer | Tom Willemse | 2019-11-19 22:02:50 -0800 |
commit | a30f3e4d48c6de7558cd6019dc7b7701e5d7e024 (patch) | |
tree | 5579771c4a780c17c87d3cd70f3dc60ab4c11052 | |
parent | cc1b465c8f90a5e1c0a9d2cfb733dc0fc52df73d (diff) | |
download | emacs-config-a30f3e4d48c6de7558cd6019dc7b7701e5d7e024.tar.gz emacs-config-a30f3e4d48c6de7558cd6019dc7b7701e5d7e024.zip |
Use ‘sh-mode’ for PKGBUILD files
-rw-r--r-- | oni-sh.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2019.1117.103253 +;; Version: 2019.1119.220233 ;; Package-Requires: (reformatter oni-flycheck oni-fci) ;; This program is free software; you can redistribute it and/or modify @@ -49,6 +49,8 @@ (add-hook 'sh-mode-hook 'flycheck-mode) (add-hook 'sh-mode-hook 'shfmt-on-save-mode) +(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . sh-mode)) + ;;;###autoload(with-eval-after-load 'sh-script (require 'oni-sh)) (provide 'oni-sh) |