File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 228
228
<string >meta.syntax.ruby.start-block </string >
229
229
</dict >
230
230
<dict >
231
- <key >comment </key >
232
- <string > as above, just doesn't need a 'end' and does a logic operation </string >
233
- <key >match </key >
234
- <string >(?< !\.)\b(and|not|or)\b </string >
235
- <key >name </key >
236
- <string >keyword.operator.logical.ruby </string >
237
- </dict >
238
- <dict >
239
- <key >comment </key >
240
- <string > just as above but being not a logical operation </string >
241
231
<key >match </key >
242
232
<string >(?< !\.)\b(alias|alias_method|block_given[?]|break|defined[?]|iterator[?]|next|redo|retry|return|super|undef|yield)(\b|(?< =[?]))(?![?!]) </string >
243
233
<key >name </key >
1699
1689
</dict >
1700
1690
<dict >
1701
1691
<key >match </key >
1702
- <string >(?< =[ \t])!+|\bnot\b|&& |\band\b|\|\||\bor\b|\^ </string >
1692
+ <string >(?< !\.)\b(and|not|or)\b(?![?!]) </string >
1693
+ <key >name </key >
1694
+ <string >keyword.operator.logical.ruby </string >
1695
+ </dict >
1696
+ <dict >
1697
+ <key >comment </key >
1698
+ <string >Make sure this goes after assignment and comparison </string >
1699
+ <key >match </key >
1700
+ <string >(?< =^|[ \t])!|&& |\|\||\^ </string >
1703
1701
<key >name </key >
1704
1702
<string >keyword.operator.logical.ruby </string >
1705
1703
</dict >
You can’t perform that action at this time.
0 commit comments