diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |