X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_emacs_el;h=8dda359397e305c70e8d66094c804363970b0c9c;hb=e14c3015f1326a8fb44f6b44bc033b76d3c5b716;hp=4827585407868cf2e51b1a2c40b7c10b01ee0d64;hpb=cd96f6ed35739aa800d789d8bb889d2c8304ae72;p=sugar.git diff --git a/dot-files/_emacs_el b/dot-files/_emacs_el index 4827585..8dda359 100644 --- a/dot-files/_emacs_el +++ b/dot-files/_emacs_el @@ -161,6 +161,13 @@ (load-file path) (message "Warning: file %s is absent" path))) +;; glsl +(autoload 'glsl-mode "glsl-mode" nil t) +(add-to-list 'auto-mode-alist '("\\.glsl\\'" . glsl-mode)) +(add-to-list 'auto-mode-alist '("\\.vert\\'" . glsl-mode)) +(add-to-list 'auto-mode-alist '("\\.frag\\'" . glsl-mode)) +(add-to-list 'auto-mode-alist '("\\.geom\\'" . glsl-mode)) + ;; session (require-if-present 'session) @@ -422,10 +429,6 @@ Will prompt you shell name when you type `C-u' before this command." t) (setq cperl-indent-level 4) (setq cperl-indent-parens-as-block t) -;; Lua -(autoload 'lua-mode "lua-mode" "Lua Mode" t) -(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode)) - ;; Erlang (require-if-present 'erlang-start) (setq erlang-electric-commands nil)