* [gentoo-commits] dev/graaff:master commit in: app-emacs/web-mode/files/
@ 2016-07-03 8:47 Hans de Graaff
0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2016-07-03 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 356eef2039d8d9c1c7e2301dfc386b9ddba4c6d6
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Jul 3 08:47:11 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 08:47:11 2016 +0000
URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=356eef20
app-emacs/web-mode: add recommended auto-modes and autoload web-mode
Package-Manager: portage-2.2.28
app-emacs/web-mode/files/50web-mode-gentoo.el | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/app-emacs/web-mode/files/50web-mode-gentoo.el b/app-emacs/web-mode/files/50web-mode-gentoo.el
index a6b9b8f..8ac519a 100644
--- a/app-emacs/web-mode/files/50web-mode-gentoo.el
+++ b/app-emacs/web-mode/files/50web-mode-gentoo.el
@@ -2,3 +2,14 @@
;;; coffee-mode site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
+
+(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
+
+(autoload 'web-mode "web-mode" "Mode for editing web templates")
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-03 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-03 8:47 [gentoo-commits] dev/graaff:master commit in: app-emacs/web-mode/files/ Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox