From 79598f55b05b9b717122ffe8f52546b8ce7c4a31 Mon Sep 17 00:00:00 2001 From: Dusty Pomerleau Date: Mon, 2 Nov 2020 15:33:11 +1100 Subject: [PATCH] fix: allow comments in attributes --- editors/code/rust.tmGrammar.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index 1b8cc713a7..b3eec327bd 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" },