diff options
Diffstat (limited to 'runtime/indent/eruby.vim')
-rw-r--r-- | runtime/indent/eruby.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/eruby.vim b/runtime/indent/eruby.vim index 9a68e5401..83d010ef6 100644 --- a/runtime/indent/eruby.vim +++ b/runtime/indent/eruby.vim @@ -43,7 +43,7 @@ endif function! GetErubyIndent() let vcol = col('.') call cursor(v:lnum,1) - let inruby = searchpair('<%','','%>') + let inruby = searchpair('<%','','%>','W') call cursor(v:lnum,vcol) if inruby && getline(v:lnum) !~ '^<%' let ind = GetRubyIndent() @@ -70,4 +70,4 @@ function! GetErubyIndent() return ind endfunction -" vim:set sw=2 sts=2 ts=8 noet ff=unix: +" vim:set sw=2 sts=2 ts=8 noet: |