summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-30 11:33:27 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-30 11:33:27 -0400
commitbd8512e48b8ca0f44171c06578da7a5f3cd6663f (patch)
treeccb332930f934c8966678dc7cd926f7fc996dc76 /.emacs
parenta3ec17efcbf8f41cec14ca95ff339b2aad2453c2 (diff)
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Conflicts: .emacs
Diffstat (limited to '.emacs')
-rw-r--r--.emacs12
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index 34967b3..5944521 100644
--- a/.emacs
+++ b/.emacs
@@ -172,6 +172,18 @@
(setq autopair-dont-activate t) ;; Don't let autopair break ansi-term
))
+(add-hook 'ruby-mode-hook
+ '(lambda ()
+ (set (make-local-variable 'indent-tabs-mode) t)
+ (set (make-local-variable 'ruby-indent-level) 4)
+ (set (make-local-variable 'tab-width) 4)
+ ))
+
+(add-hook 'coffee-mode-hook
+ '(lambda ()
+ (set (make-local-variable 'indent-tabs-mode) nil)
+ ))
+
;(require 'flymake)
;(add-hook 'php-mode-hook (lambda() (flymake-mode 1)))
;(define-key php-mode-map '[M-S-up] 'flymake-goto-prev-error)