diff options
Diffstat (limited to 'indent')
| -rw-r--r-- | indent/eruby.vim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indent/eruby.vim b/indent/eruby.vim index 07cff818..82313a08 100644 --- a/indent/eruby.vim +++ b/indent/eruby.vim @@ -92,7 +92,7 @@ function! GetErubyIndent(...)    if line =~# '^\s*<%[=#-]\=\s*$' && cline !~# '^\s*end\>'      let ind = ind + sw    endif -  if line !~# '^\s*<%' && line =~# '%>\s*$' +  if line !~# '^\s*<%' && line =~# '%>\s*$' && line !~# '^\s*end\>'      let ind = ind - sw    endif    if cline =~# '^\s*[-=]\=%>\s*$' | 
