diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-30 11:33:27 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-30 11:33:27 -0400 |
commit | bd8512e48b8ca0f44171c06578da7a5f3cd6663f (patch) | |
tree | ccb332930f934c8966678dc7cd926f7fc996dc76 | |
parent | a3ec17efcbf8f41cec14ca95ff339b2aad2453c2 (diff) |
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Conflicts:
.emacs
-rw-r--r-- | .emacs | 12 | ||||
-rw-r--r-- | .emacs.d/custom.el | 8 |
2 files changed, 20 insertions, 0 deletions
@@ -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) diff --git a/.emacs.d/custom.el b/.emacs.d/custom.el index d8fdce4..7773d83 100644 --- a/.emacs.d/custom.el +++ b/.emacs.d/custom.el @@ -3,4 +3,12 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(ruby-deep-arglist nil) + '(ruby-deep-indent-paren nil) '(scroll-bar-mode nil)) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) |