From 01a228f68904f8ed9dbc2f4e4c348744fc50084d Mon Sep 17 00:00:00 2001 From: Dusty Pomerleau Date: Tue, 3 Nov 2020 18:37:43 +1100 Subject: fix: allow functions without curly brackets --- editors/code/rust.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') 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 @@ "name": "punctuation.brackets.angle.rust" } }, - "end": "\\{", + "end": "\\{|;", "endCaptures": { "0": { "name": "punctuation.brackets.curly.rust" -- cgit v1.2.3