Skip to content

Commit

Permalink
Add Flask template files to auto-mode-alist for web-mode.
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 45b61070c89b36d219438462627c22b3fc2b7a14
  • Loading branch information
jaccarmac committed Jul 29, 2015
1 parent 9506b29 commit fdcdbca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dot-emacs-dot-d.org
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ Now, for some code.
(add-to-list 'auto-mode-alist
'("\\.js?\\'" . web-mode))
(add-to-list 'auto-mode-alist
'("\\.php?\\'" . web-mode))))
'("\\.php?\\'" . web-mode))
(add-to-list 'auto-mode-alist
'("\\.tmpl?\\'" . web-mode))))
#+END_SRC

* Steal Java-editing features from Eclipse.
Expand Down
4 changes: 3 additions & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@
(add-to-list 'auto-mode-alist
'("\\.js?\\'" . web-mode))
(add-to-list 'auto-mode-alist
'("\\.php?\\'" . web-mode))))
'("\\.php?\\'" . web-mode))
(add-to-list 'auto-mode-alist
'("\\.tmpl?\\'" . web-mode))))

(quelpa 'emacs-eclim)
(use-package eclim :config (global-eclim-mode))
Expand Down

0 comments on commit fdcdbca

Please sign in to comment.