From dd441bc82ecb2bf5bae8dd02bb6127ea04d2ff8d Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 4 Nov 2012 23:28:13 -0800 Subject: [PATCH] Add haml settings for 2 spaces --- vim/ftplugin/haml.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/ftplugin/haml.vim diff --git a/vim/ftplugin/haml.vim b/vim/ftplugin/haml.vim new file mode 100644 index 0000000..7456ecf --- /dev/null +++ b/vim/ftplugin/haml.vim @@ -0,0 +1,6 @@ + +set expandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab +set shiftwidth=2 " unify +set softtabstop=2 " Pressing backspace works like tabs +set tabstop=2 " real tabs should be 4, but they will show with set list on +