diff options
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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))) |