diff options
author | Dusty Pomerleau <[email protected]> | 2020-11-03 07:37:43 +0000 |
---|---|---|
committer | Dusty Pomerleau <[email protected]> | 2020-11-03 07:37:43 +0000 |
commit | 01a228f68904f8ed9dbc2f4e4c348744fc50084d (patch) | |
tree | 2c8115e316088b32ddf70454a7bc26053706e2c0 /editors/code | |
parent | 245e1b533b5be5ea4a917957fb02d7f57e6b4661 (diff) |
fix: allow functions without curly brackets
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/rust.tmGrammar.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index b3eec327b..1d11d2c19 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json | |||
@@ -462,7 +462,7 @@ | |||
462 | "name": "punctuation.brackets.angle.rust" | 462 | "name": "punctuation.brackets.angle.rust" |
463 | } | 463 | } |
464 | }, | 464 | }, |
465 | "end": "\\{", | 465 | "end": "\\{|;", |
466 | "endCaptures": { | 466 | "endCaptures": { |
467 | "0": { | 467 | "0": { |
468 | "name": "punctuation.brackets.curly.rust" | 468 | "name": "punctuation.brackets.curly.rust" |