summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-05-25 19:48:31 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-05-25 19:48:31 -0700
commitc190f8017df66c211aa87762689c5cff5b684265 (patch)
tree4132cf75710b5b7465dff2276e8b74bf4c9693d9
parentb4f0c751da527de6a1c6f2ab2ff939a13bbcea25 (diff)
downloaddotfiles-c190f8017df66c211aa87762689c5cff5b684265.tar.gz
dotfiles-c190f8017df66c211aa87762689c5cff5b684265.tar.xz
Add Ruby and Haml defaults to .vimrc.
-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