summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el
index 349f2a5..aa61832 100644
--- a/init.el
+++ b/init.el
@@ -149,6 +149,15 @@ no effect."
(load-after-function pdf-view-mode "pdf.el" "Fake mode that loads the pacakge." nil
(pdf-view-mode))
+;;;###autoload
+(load-after-function glsl-mode "glsl-conf.el" "Fake mode that loads the package." nil
+ (glsl-mode))
+
+(add-to-list 'auto-mode-alist (cons "\\.frag$" #'glsl-mode))
+(add-to-list 'auto-mode-alist (cons "\\.vert$" #'glsl-mode))
+(add-to-list 'auto-mode-alist (cons "\\.fs$" #'glsl-mode))
+(add-to-list 'auto-mode-alist (cons "\\.vs$" #'glsl-mode))
+
;;; bongo
;;;###autoload