We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c918122 commit 0e58499Copy full SHA for 0e58499
syntax/ruby.vim
@@ -103,6 +103,8 @@ syn match rubySymbol "[]})\"':]\@<!:\%(\$\|@@\=\)\=\h\w*"
103
syn match rubySymbol "[]})\"':]\@<!:\h\w*\%([?!=]>\@!\)\="
104
syn match rubySymbol "\%([{(,]\_s*\)\@<=\l\w*[!?]\=::\@!"he=e-1
105
syn match rubySymbol "[]})\"':]\@<!\h\w*[!?]\=:\s\@="he=e-1
106
+syn match rubySymbol "\%([{(,]\_s*\)\@<=[[:space:],{]\l\w*[!?]\=::\@!"hs=s+1,he=e-1
107
+syn match rubySymbol "[[:space:],{]\h\w*[!?]\=:\s\@="hs=s+1,he=e-1
108
syn region rubySymbol start="[]})\"':]\@<!:'" end="'" skip="\\\\\|\\'" contains=rubyQuoteEscape fold
109
syn region rubySymbol start="[]})\"':]\@<!:\"" end="\"" skip="\\\\\|\\\"" contains=@rubyStringSpecial fold
110
0 commit comments