From 4ea9c779a1422c1015385d811b17a813f789906e Mon Sep 17 00:00:00 2001 From: Mohammad Satrio Date: Fri, 22 Mar 2019 22:31:02 +0700 Subject: [PATCH 1/2] Add highlight group for parentheses --- syntax/ruby.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/ruby.vim b/syntax/ruby.vim index 2849397c..54fa41e4 100644 --- a/syntax/ruby.vim +++ b/syntax/ruby.vim @@ -360,6 +360,7 @@ if !exists("b:ruby_no_expensive") && !exists("ruby_no_expensive") " curly bracket block or hash literal SynFold '{' syn region rubyCurlyBlock matchgroup=rubyCurlyBlockDelimiter start="{" end="}" contains=ALLBUT,@rubyNotTop SynFold '[' syn region rubyArrayLiteral matchgroup=rubyArrayDelimiter start="\%(\%(\w\|[^\x00-\x7F]\)[?!]\=\|[]})]\)\@2" end="\" contains=ALLBUT,@rubyNotTop @@ -446,7 +447,6 @@ syn match rubyOperator "\ Date: Mon, 30 Mar 2020 07:45:53 +0700 Subject: [PATCH 2/2] Symbol stuff --- syntax/ruby.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax/ruby.vim b/syntax/ruby.vim index 54fa41e4..1bb98208 100644 --- a/syntax/ruby.vim +++ b/syntax/ruby.vim @@ -447,6 +447,7 @@ syn match rubyOperator "\