summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 0fb9ec1..a27b4fe 100644
--- a/vimrc
+++ b/vimrc
@@ -23,3 +23,6 @@ set tabstop=4
set ignorecase
set incsearch
set nohlsearch
+
+autocmd FileType haml setlocal expandtab tabstop=2 shiftwidth=2
+autocmd FileType ruby setlocal expandtab tabstop=2 shiftwidth=2 textwidth=79