Added web-mode

it's only enabled in the extensions djhtml, html, tpl
see init-web-mode.el
This commit is contained in:
Jesús
2018-11-02 21:44:58 -05:00
parent f978e62489
commit 457e5c6083
4 changed files with 13 additions and 3 deletions

View File

@@ -15,6 +15,4 @@
(define-key php-mode-map (kbd "C-]") 'ac-php-find-symbol-at-point) ;goto define
(define-key php-mode-map (kbd "C-t") 'ac-php-location-stack-back)))) ;go back
(use-package smarty-mode)
(provide 'init-php)

11
lisp/init-web-mode.el Normal file
View File

@@ -0,0 +1,11 @@
(use-package web-mode
:mode (("\\.html?\\'" . web-mode)
("\\.djhtml\\'" . web-mode)
("\\.tpl\\'" . web-mode)
("\\.jsp\\'" . web-mode)
("\\.gsp\\'" . web-mode))
:config
;; web-modeの設定
)
(provide 'init-web-mode)