lang/web: open templates/.+\.php$ in web-mode

This commit is contained in:
Henrik Lissner 2018-01-28 20:38:14 -05:00
parent 8b19e35ef6
commit 45a490882f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -10,6 +10,7 @@
:mode "\\.tsx$" :mode "\\.tsx$"
:mode "\\.vue$" :mode "\\.vue$"
:mode "wp-content/themes/.+/.+\\.php$" :mode "wp-content/themes/.+/.+\\.php$"
:mode "templates/.+\\.php$"
:config :config
(add-hook 'web-mode-hook #'turn-off-smartparens-mode) (add-hook 'web-mode-hook #'turn-off-smartparens-mode)
(set! :company-backend 'web-mode '(company-web-html company-yasnippet)) (set! :company-backend 'web-mode '(company-web-html company-yasnippet))