Skip to content

Commit

Permalink
Remove unnecessary checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
graceful-potato committed Feb 29, 2020
1 parent eb56066 commit 4786d96
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions Syntaxes/Ruby.plist
Original file line number Diff line number Diff line change
Expand Up @@ -647,20 +647,6 @@
<string>(?x)
(?=\s*if\b|\s*unless\b)
(?&lt;=[}\])\w?!"'`])
(?&lt;!\Wif|^if| # \WX|^X is equivalent to \bX
\Wunless|^unless| # this is workaround for code editors which doesn't support onigomo
\Wcase|^case| # https://github.com/microsoft/vscode-textmate/issues/121#issuecomment-565689295
\Wwhen|^when|
\Wwhile|^while|
\Wuntil|^until|
\Wfor|^for|
\Wbegin|^begin|
\Wand|^and|
\Wnot|^not|
\Wor|^or|
\Win|^in|
\W!|^!|
\W\?|^\?)
\s*\b(if)|(unless)\b(?![?!])
</string>
</dict>
Expand Down Expand Up @@ -792,20 +778,6 @@
<string>(?x)
(?=\s*while\b|\s*until\b)
(?&lt;=[}\])\w?!"'`])
(?&lt;!\Wif|^if| # \WX|^X is equivalent to \bX
\Wunless|^unless| # this is workaround for code editors which doesn't support onigomo
\Wcase|^case| # https://github.com/microsoft/vscode-textmate/issues/121#issuecomment-565689295
\Wwhen|^when|
\Wwhile|^while|
\Wuntil|^until|
\Wfor|^for|
\Wbegin|^begin|
\Wand|^and|
\Wnot|^not|
\Wor|^or|
\Win|^in|
\W!|^!|
\W\?|^\?)
\s*\b(while)|(until)\b(?![?!])
</string>
</dict>
Expand Down

0 comments on commit 4786d96

Please sign in to comment.