From f94e6ad8ad35afe449c06c0c6c1baef13561806b Mon Sep 17 00:00:00 2001 From: Sung-Shik Jongmans Date: Tue, 22 Oct 2024 12:30:51 +0200 Subject: [PATCH] Enable bracket matching in strings and comments (i.e., restore old behavior) --- rascal-vscode-extension/package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rascal-vscode-extension/package.json b/rascal-vscode-extension/package.json index a43250f22..388ae6bee 100644 --- a/rascal-vscode-extension/package.json +++ b/rascal-vscode-extension/package.json @@ -133,12 +133,20 @@ { "language": "rascalmpl", "scopeName": "source.rascalmpl", - "path": "./syntaxes/rascal.tmGrammar.json" + "path": "./syntaxes/rascal.tmGrammar.json", + "tokenTypes": { + "string": "other", + "comment": "other" + } }, { "language": "parametric-rascalmpl", "scopeName": "source.parametric-rascalmpl", - "path": "./syntaxes/parametric.tmGrammar.json" + "path": "./syntaxes/parametric.tmGrammar.json", + "tokenTypes": { + "string": "other", + "comment": "other" + } } ], "semanticTokenScopes": [