summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.el b/init.el
index 32b0b28..ae90b89 100644
--- a/init.el
+++ b/init.el
@@ -166,6 +166,14 @@ no effect."
(add-to-list 'auto-mode-alist (cons "\\.fs$" #'glsl-mode))
(add-to-list 'auto-mode-alist (cons "\\.vs$" #'glsl-mode))
+;;; Prepare for WGSL
+
+;;;###autoload
+(load-after-function wgsl-mode "wgsl-conf.el"
+ "Fake mode that loads the package." nil (wgsl-mode))
+
+(add-to-list 'auto-mode-alist (cons "\\.wgsl$" #'wgsl-mode))
+
;;; rainbow-mode
(use-package "rainbow-mode" 'rainbow-mode)