aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-08-01 22:01:50 -0700
committerGravatar Tom Willemse2025-08-01 22:01:50 -0700
commitabbf24b39501caab6d8bb95f482a5a1ce5ce9390 (patch)
treeebd5a2ab48e6d4a37bba126d746880bf6b25f011
parentf3c6b1870d5cbe1b52bc1ad244bd0310ffdec555 (diff)
downloademacs-config-abbf24b39501caab6d8bb95f482a5a1ce5ce9390.tar.gz
emacs-config-abbf24b39501caab6d8bb95f482a5a1ce5ce9390.zip
oni-web: Include Vue files in web-mode
-rw-r--r--oni-web.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-web.el b/oni-web.el
index b984a4a..1fec6bf 100644
--- a/oni-web.el
+++ b/oni-web.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2025.0423.111145
+;; Version: 2025.0709.110108
;; Package-Requires: (web-mode oni-flycheck prettier-js)
;; This program is free software; you can redistribute it and/or modify
@@ -55,5 +55,8 @@
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist (cons (rx ".vue" eos) 'web-mode))
+
(provide 'oni-web)
;;; oni-web.el ends here