diff options
| author | Vitalii Kravchenko <vitalyx@gmail.com> | 2022-06-05 00:29:29 +0100 |
|---|---|---|
| committer | Vitalii Kravchenko <vitalyx@gmail.com> | 2022-06-05 00:29:29 +0100 |
| commit | c052c9b0763cb57cc57beef2253415ebad064c5e (patch) | |
| tree | 9073447b43dd804eee8eb19cc56c45f07e3a0ce8 /editors | |
| parent | ac23f0ac1840ca445fb8758fc29fee5278199e00 (diff) | |
Add support for or_else and or_return keywords
Diffstat (limited to 'editors')
| -rw-r--r-- | editors/vscode/syntaxes/odin.tmLanguage.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vscode/syntaxes/odin.tmLanguage.json b/editors/vscode/syntaxes/odin.tmLanguage.json index 026aa15..d155e2d 100644 --- a/editors/vscode/syntaxes/odin.tmLanguage.json +++ b/editors/vscode/syntaxes/odin.tmLanguage.json @@ -50,7 +50,7 @@ { "name": "comment.block.odin", "begin": "/\\*", - "end": "\\*/", + "end": "\\*/", "patterns": [{ "include": "#block-comment" }] @@ -90,7 +90,7 @@ }, { "name": "keyword.control.odin", - "match": "\\b(if|else|when|for|in|defer|switch|return)\\b" + "match": "\\b(if|else|or_else|when|for|in|defer|switch|return|or_return)\\b" }, { "name": "keyword.control.odin", |