summaryrefslogtreecommitdiffstats
path: root/syntax/ruby.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-01-24 18:06:22 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-01-24 18:06:22 +0100
commit9a2b4f5cd8bcb03f1344fa9f81b59efb84a91889 (patch)
tree31d8265fcf38ee6f12f3f763acf409fdde03817d /syntax/ruby.vim
parentf211f02d1e53dbb4eada17e999eba81bccaf1fb2 (diff)
downloadvim-polyglot-9a2b4f5cd8bcb03f1344fa9f81b59efb84a91889.tar.gz
vim-polyglot-9a2b4f5cd8bcb03f1344fa9f81b59efb84a91889.zip
Updatev1.5.1
Diffstat (limited to 'syntax/ruby.vim')
-rw-r--r--syntax/ruby.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/ruby.vim b/syntax/ruby.vim
index 08f71554..d880051a 100644
--- a/syntax/ruby.vim
+++ b/syntax/ruby.vim
@@ -121,7 +121,7 @@ syn match rubyPredefinedConstant "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\%(ARGF\|ARGV\|ENV
syn match rubyPredefinedConstant "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\%(RUBY_\%(VERSION\|RELEASE_DATE\|PLATFORM\|PATCHLEVEL\|REVISION\|DESCRIPTION\|COPYRIGHT\|ENGINE\)\)\>\%(\s*(\)\@!"
" Normal Regular Expression
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\%(^\|\<\%(and\|or\|while\|until\|unless\|if\|elsif\|when\|not\|then\|else\)\|[;\~=!|&(,[<>?:*+-]\)\s*\)\@<=/" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyRegexpSpecial fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\%(^\|\<\%(and\|or\|while\|until\|unless\|if\|elsif\|when\|not\|then\|else\)\|[;\~=!|&(,{[<>?:*+-]\)\s*\)\@<=/" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyRegexpSpecial fold
syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\h\k*\s\+\)\@<=/[ \t=]\@!" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyRegexpSpecial fold
" Generalized Regular Expression