summaryrefslogtreecommitdiffstats
path: root/emacs.d/10-file-associations.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/10-file-associations.el')
-rw-r--r--emacs.d/10-file-associations.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs.d/10-file-associations.el b/emacs.d/10-file-associations.el
index 00084f4..52a7e23 100644
--- a/emacs.d/10-file-associations.el
+++ b/emacs.d/10-file-associations.el
@@ -3,6 +3,8 @@
(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
(add-to-list 'auto-mode-alist '("\\.bat$" . batch-mode))
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
+(add-to-list 'auto-mode-alist '("\\.php[345]?$" . php-mode))
+(add-to-list 'auto-mode-alist '("\\.js\\(on\\)?$" . javascript-mode))
(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8))
(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8))