summaryrefslogtreecommitdiffstats
path: root/syntax/ruby.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-27 10:07:29 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-27 10:07:29 +0200
commit4f5388350be1052f610b830c8fce8fbc17370ec6 (patch)
tree425cb8ee70c123233055a61d56d73e2eb97536db /syntax/ruby.vim
parent4899585281beab51e5dff1d9ae4d3159244a8275 (diff)
downloadvim-polyglot-4f5388350be1052f610b830c8fce8fbc17370ec6.tar.gz
vim-polyglot-4f5388350be1052f610b830c8fce8fbc17370ec6.zip
Update
Diffstat (limited to 'syntax/ruby.vim')
-rw-r--r--syntax/ruby.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/ruby.vim b/syntax/ruby.vim
index 4b962fa1..ce28d380 100644
--- a/syntax/ruby.vim
+++ b/syntax/ruby.vim
@@ -137,10 +137,10 @@ syn match rubyCurlyBraceEscape "\\[{}]" contained display
syn match rubyAngleBracketEscape "\\[<>]" contained display
syn match rubySquareBracketEscape "\\[[\]]" contained display
-syn region rubyNestedParentheses start="(" skip="\\\\\|\\)" matchgroup=rubyString end=")" transparent contained
-syn region rubyNestedCurlyBraces start="{" skip="\\\\\|\\}" matchgroup=rubyString end="}" transparent contained
-syn region rubyNestedAngleBrackets start="<" skip="\\\\\|\\>" matchgroup=rubyString end=">" transparent contained
-syn region rubyNestedSquareBrackets start="\[" skip="\\\\\|\\\]" matchgroup=rubyString end="\]" transparent contained
+syn region rubyNestedParentheses start="(" skip="\\\\\|\\)" end=")" transparent contained
+syn region rubyNestedCurlyBraces start="{" skip="\\\\\|\\}" end="}" transparent contained
+syn region rubyNestedAngleBrackets start="<" skip="\\\\\|\\>" end=">" transparent contained
+syn region rubyNestedSquareBrackets start="\[" skip="\\\\\|\\\]" end="\]" transparent contained
syn cluster rubySingleCharEscape contains=rubyBackslashEscape,rubyQuoteEscape,rubySpaceEscape,rubyParenthesisEscape,rubyCurlyBraceEscape,rubyAngleBracketEscape,rubySquareBracketEscape
syn cluster rubyNestedBrackets contains=rubyNested.\+