X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_emacs_el;h=632ebefe3dd4f39f9469ea9bcfb1ce38d6a001e2;hb=6b5ddfaf9fbe65cd2ef9fd91a377065a83ebef5f;hp=4683486326669f419b8862d297794278a6d241a7;hpb=176019f33f06ef45e85357dcd72a1b81a9c5a82d;p=sugar.git diff --git a/dot-files/_emacs_el b/dot-files/_emacs_el index 4683486..632ebef 100644 --- a/dot-files/_emacs_el +++ b/dot-files/_emacs_el @@ -200,6 +200,12 @@ Will prompt you shell name when you type `C-u' before this command." t) (append '(("\\.rst$" . rst-mode) ("\\.rest$" . rst-mode)) auto-mode-alist)) +;; graphviz-dot-mode +(autoload 'graphviz-dot-mode "graphviz-dot-mode" + "Major mode for the dot language." t) +(add-to-list 'auto-mode-alist '("\\.dot\\'" . graphviz-dot-mode)) +(add-to-list 'auto-mode-alist '("\\.gv\\'" . graphviz-dot-mode)) + ;; textile-mode (autoload 'textile-mode "textile-mode" "Major mode for editing Textile documents." t) @@ -380,6 +386,10 @@ 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) @@ -552,6 +562,8 @@ Will prompt you shell name when you type `C-u' before this command." t) '(ecb-windows-width 0.2) '(elscreen-display-tab t) '(global-whitespace-mode t) + '(graphviz-dot-auto-indent-on-newline nil) + '(graphviz-dot-auto-indent-on-semi nil) '(haskell-program-name "ghci") '(ido-enable-flex-matching t) '(ido-everywhere t)