diff options
author | Teddy Wing | 2015-01-24 00:34:05 -0500 |
---|---|---|
committer | Teddy Wing | 2015-01-24 00:37:32 -0500 |
commit | ffd0ac55b3dce9ebb2f53de726e6e43eeb9587e9 (patch) | |
tree | d30ed1724007807181be09b41f9f833e0696e9f6 /ftplugin | |
parent | 4c2aae516a0cde654cc4d17e2fae6846fa8c1551 (diff) | |
download | dotvim-ffd0ac55b3dce9ebb2f53de726e6e43eeb9587e9.tar.bz2 |
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.
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/eruby.vim | 6 |
1 files changed, 6 insertions, 0 deletions
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 |