Skip to content
Browse files

extract modes config

  • Loading branch information...
1 parent de11cea commit 6f5d778e8c01d21280b0d0f49335354539a3ce37 @bostonaholic bostonaholic committed Mar 26, 2012
View
3 .emacs.d/config-markdown-mode.el
@@ -0,0 +1,3 @@
+(autoload 'markdown-mode "markdown-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.md$" . markdown-mode))
+(add-to-list 'auto-mode-alist '("\\.markdown$" . markdown-mode))
View
2 .emacs.d/config-scss-mode.el
@@ -0,0 +1,2 @@
+;; do not compile scss files on save
+(setq scss-compile-at-save nil)
View
10 .emacs.d/config-workarounds.el
@@ -1,16 +1,6 @@
;; come on guys; autoloads are not rocket science
(autoload 'marmalade-upload-buffer "marmalade" nil t)
-(autoload 'markdown-mode "markdown-mode" nil t)
-(add-to-list 'auto-mode-alist '("\\.md$" . markdown-mode))
-(add-to-list 'auto-mode-alist '("\\.markdown$" . markdown-mode))
-
-(autoload 'yaml-mode "yaml-mode" nil t)
-(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
-
-;; do not compile scss files on save
-(setq scss-compile-at-save nil)
-
;; set mustache-mode
(require 'mustache-mode)
(add-to-list 'auto-mode-alist '("\\.hbs$" . mustache-mode))
View
2 .emacs.d/config-yaml-mode.el
@@ -0,0 +1,2 @@
+(autoload 'yaml-mode "yaml-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
View
7 .emacs.d/init.el
@@ -16,6 +16,7 @@
haml-mode
pivotal-tracker
ruby-mode
+ sass-mode
scpaste
scss-mode
starter-kit
@@ -63,11 +64,15 @@
;; load more config files
(load "config-autocomplete")
(load "config-bindings")
-(load "config-clojure-mode")
(load "config-cosmetics")
(load "config-defuns")
(load "config-hooks")
(load "config-registers")
(load "mustache-mode")
(load "config-workarounds")
(load "config-yasnippet")
+
+(load "config-clojure-mode")
+(load "config-markdown-mode")
+(load "config-scss-mode")
+(load "config-yaml-mode")

0 comments on commit 6f5d778

Please sign in to comment.
Something went wrong with that request. Please try again.