Use ‘sh-mode’ for PKGBUILD files
This commit is contained in:
parent
cc1b465c8f
commit
a30f3e4d48
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2019.1117.103253
|
;; Version: 2019.1119.220233
|
||||||
;; Package-Requires: (reformatter oni-flycheck oni-fci)
|
;; Package-Requires: (reformatter oni-flycheck oni-fci)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; 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 'flycheck-mode)
|
||||||
(add-hook 'sh-mode-hook 'shfmt-on-save-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))
|
;;;###autoload(with-eval-after-load 'sh-script (require 'oni-sh))
|
||||||
|
|
||||||
(provide 'oni-sh)
|
(provide 'oni-sh)
|
||||||
|
|
Loading…
Reference in a new issue