Skip to content

Commit

Permalink
fix: remove [ from and/or assignment in a condition
Browse files Browse the repository at this point in the history
  • Loading branch information
v010maaa committed Oct 16, 2024
1 parent 15710d7 commit 6cfcc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/grammars/ruby.cson.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"name": "keyword.operator.assignment.augmented.ruby"
}
},
"match": "(?<!\\.)\\b(case|if|elsif|unless|until|while)\\b\\s*(\\(|\\[)*?\\s*([a-z]([A-Za-z0-9_])*)\\s*((&&|\\|\\|)=)",
"match": "(?<!\\.)\\b(case|if|elsif|unless|until|while)\\b\\s*(\\()*?\\s*([a-z]([A-Za-z0-9_])*)\\s*((&&|\\|\\|)=)",
"comment": "A local variable and/or assignment in a condition"
},
{
Expand Down

0 comments on commit 6cfcc5b

Please sign in to comment.