From f192392299e6b5a9cefb9d341f17b06f1fa3efa5 Mon Sep 17 00:00:00 2001 From: "Ryan Thomas Lynch (@emosy)" Date: Fri, 8 Jul 2022 10:58:20 -0700 Subject: [PATCH] [vscode-mlir] add tablegen <> bracket colorization Add support for colorizing angle brackets "<>" in TableGen files. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D128229 --- .../tablegen-language-configuration.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mlir/utils/vscode/tablegen-language-configuration.json b/mlir/utils/vscode/tablegen-language-configuration.json index 24227bc75ef7..6a1455bf8ca7 100644 --- a/mlir/utils/vscode/tablegen-language-configuration.json +++ b/mlir/utils/vscode/tablegen-language-configuration.json @@ -6,6 +6,24 @@ "*/" ] }, + "colorizedBracketPairs": [ + [ + "{", + "}" + ], + [ + "[", + "]" + ], + [ + "(", + ")" + ], + [ + "<", + ">" + ] + ], "brackets": [ [ "{",