From c190f8017df66c211aa87762689c5cff5b684265 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 25 May 2014 19:48:31 -0700 Subject: Add Ruby and Haml defaults to .vimrc. --- vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vimrc') 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 -- cgit v1.2.3-70-g09d2