summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-07-17 00:07:08 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-07-17 00:07:08 -0400
commit9399e46640c9c8f690c091f51749a7d3b5511646 (patch)
tree9e88b7b30be21db9ab561ede4b9777a74a12b995 /.emacs
parent4dcf99a241f8591b21ce3e8b2dd385cbeb99bbf6 (diff)
parentdbab2a06f142894f446f1f66b637242862dcd7bf (diff)
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Diffstat (limited to '.emacs')
-rw-r--r--.emacs13
1 files changed, 12 insertions, 1 deletions
diff --git a/.emacs b/.emacs
index 4bc39b3..99bdf77 100644
--- a/.emacs
+++ b/.emacs
@@ -179,8 +179,19 @@
(setq autopair-dont-activate t) ;; Don't let autopair break ansi-term
))
-(add-to-list 'auto-mode-alist '("PKGBUILD" . sh-mode))
+(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)
+ ))
+
+(add-to-list 'auto-mode-alist '("PKGBUILD" . sh-mode))
;(require 'flymake)
;(add-hook 'php-mode-hook (lambda() (flymake-mode 1)))