diff runtime/indent/eruby.vim @ 1620:73fe8baea242

updated for version 7.2a
author vimboss
date Tue, 24 Jun 2008 21:16:56 +0000
parents f58cb9bf1260
children 0b796e045c42
line wrap: on
line diff
--- 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: