Add Vue file to web mode

Support `.vue` Vue.js files in web-mode.
This commit is contained in:
Dragnucs 2018-01-09 11:27:48 +00:00 committed by GitHub
parent 5dacbb7cb1
commit 32c3dd847e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@
:mode "\\.as[cp]x$" :mode "\\.as[cp]x$"
:mode "\\.mustache$" :mode "\\.mustache$"
:mode "\\.tsx$" :mode "\\.tsx$"
:mode "\\.vue$"
:mode "wp-content/themes/.+/.+\\.php$" :mode "wp-content/themes/.+/.+\\.php$"
:config :config
(add-hook 'web-mode-hook #'turn-off-smartparens-mode) (add-hook 'web-mode-hook #'turn-off-smartparens-mode)