From b4a6290b42701b09069e052d1c3c1aa904752254 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 28 Jan 2016 18:07:33 +0100 Subject: Update --- indent/eruby.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indent/eruby.vim') 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*$' -- cgit v1.2.3