From 79598f55b05b9b717122ffe8f52546b8ce7c4a31 Mon Sep 17 00:00:00 2001 From: Dusty Pomerleau Date: Mon, 2 Nov 2020 15:33:11 +1100 Subject: fix: allow comments in attributes --- editors/code/rust.tmGrammar.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'editors/code/rust.tmGrammar.json') diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index 1b8cc713a..b3eec327b 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json @@ -139,6 +139,12 @@ } }, "patterns": [ + { + "include": "#block-comments" + }, + { + "include": "#comments" + }, { "include": "#keywords" }, -- cgit v1.2.3