Skip to content

Commit

Permalink
make sure that eRubyOneLiner cannot be extended over multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dkearns committed Sep 1, 2005
1 parent ce6f3e4 commit e4de02d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2005-09-01 Doug Kearns <djkea2@gus.gscit.monash.edu.au>

* syntax/eruby.vim: make sure that eRubyOneLiner cannot be extended
over multiple lines

2005-08-30 Doug Kearns <djkea2@gus.gscit.monash.edu.au>

* syntax/ruby.vim: remove rubyIterator HiLink command line
Expand Down
2 changes: 1 addition & 1 deletion syntax/eruby.vim
Expand Up @@ -33,7 +33,7 @@ else
syn include @rubyTop syntax/ruby.vim
endif

syn region erubyOneLiner matchgroup=erubyDelimiter start="^\s*\zs%" end="$" contains=@rubyTop,erubyDelimiter keepend
syn region erubyOneLiner matchgroup=erubyDelimiter start="^\s*\zs%" end="$" contains=@rubyTop,erubyDelimiter keepend oneline
syn region erubyBlock matchgroup=erubyDelimiter start="<%=\=" end="%>" contains=@rubyTop containedin=ALLBUT,erubyComment keepend
syn region erubyComment matchgroup=erubyDelimiter start="<%#" end="%>" keepend

Expand Down

0 comments on commit e4de02d

Please sign in to comment.