diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-04-11 19:05:28 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-04-11 19:05:28 +0100 |
| commit | 791599b0dcd61161438664eb5ab6f599ce622ec3 (patch) | |
| tree | 2dbb169b2b2695b4a6ad4b484c5db5e3c076ee58 /emacs/init.el | |
| parent | 612849cf7174549b66bb6be74f409a8da90ae362 (diff) | |
emacs: Use the right mode for PKGBUILD files
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 8729f01..fc5f8f0 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -32,6 +32,7 @@ (tool-bar-mode -1) (add-to-list 'auto-mode-alist '("\\.service\\'" . conf-mode)) (add-to-list 'auto-mode-alist '("\\.timer\\'" . conf-mode)) +(add-to-list 'auto-mode-alist '("/PKGBUILD\\'" . shell-script-mode)) (add-to-list 'ido-ignore-files ".DS_Store") (add-to-list 'magic-mode-alist '("#compdef .+" . sh-mode)) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) |
