Browse Source

Add mappings AsciiDoc file extensions

custom
Bozhidar Batsov 5 years ago
parent
commit
2db3c6c2c4
  1. 4
      core/prelude-packages.el

4
core/prelude-packages.el

@ -200,6 +200,10 @@ PACKAGE is installed only if not already present. The file is opened in MODE."
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . gfm-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)))
(when (package-installed-p 'adoc-mode)
(add-to-list 'auto-mode-alist '("\\.adoc\\'" 'adoc-mode))
(add-to-list 'auto-mode-alist '("\\.asciidoc\\'" 'adoc-mode)))
(when (package-installed-p 'pkgbuild-mode)
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))

Loading…
Cancel
Save