Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (add-to-list 'load-path "~/.emacs.d/")
- (load "~/.emacs.d/web-mode.el")
- (require 'web-mode)
- (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 '("\\.jsp\\'" . 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))
- (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
- ;; .emacs
- ;;; uncomment this line to disable loading of "default.el" at startup
- ;; (setq inhibit-default-init t)
- ;; enable visual feedback on selections
- ;(setq transient-mark-mode t)
- ;; default to better frame titles
- ;; (setq frame-title-format
- ;; (concat "%b - emacs@" (system-name)))
- ;; default to unified diffs
- ;; (setq diff-switches "-u")
- ;; always end a file with a newline
- ;(setq require-final-newline 'query)
- ;;; uncomment for CJK utf-8 support for non-Asian users
- ;; (require 'un-define)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement