diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/.emacs.d/config/web-mode.el | 9 | ||||
-rw-r--r-- | home/.emacs.d/init.el | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/home/.emacs.d/config/web-mode.el b/home/.emacs.d/config/web-mode.el new file mode 100644 index 0000000..5a1034d --- /dev/null +++ b/home/.emacs.d/config/web-mode.el @@ -0,0 +1,9 @@ +(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 '("\\.[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)) +(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) diff --git a/home/.emacs.d/init.el b/home/.emacs.d/init.el index 2a16493..ca707ca 100644 --- a/home/.emacs.d/init.el +++ b/home/.emacs.d/init.el @@ -22,5 +22,8 @@ ;; uniform questions (defalias 'yes-or-no-p 'y-or-n-p) +;; default window size +(when window-system (set-frame-size (selected-frame) 160 60)) + ;;; Other configuration (mapc 'load (file-expand-wildcards "~/.emacs.d/config/*.el")) |