From ffd0ac55b3dce9ebb2f53de726e6e43eeb9587e9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 24 Jan 2015 00:34:05 -0500 Subject: Create ftplugin/eruby.vim with indentation settings Looks like ERB files would take their indentation settings from the ruby setting (2 spaces). I want 4-space indentation in my ERB, at least typically that's what I want when I'm writing HTML with embedded ruby. Apply that accordingly. --- ftplugin/eruby.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ftplugin/eruby.vim diff --git a/ftplugin/eruby.vim b/ftplugin/eruby.vim new file mode 100644 index 0000000..4aeda73 --- /dev/null +++ b/ftplugin/eruby.vim @@ -0,0 +1,6 @@ +" ERB vim settings + +" Indentation +setlocal tabstop=4 +setlocal softtabstop=4 +setlocal shiftwidth=4 -- cgit v1.2.3