[Mlir-commits] [mlir] f192392 - [vscode-mlir] add tablegen <> bracket colorization
Jacques Pienaar
llvmlistbot at llvm.org
Fri Jul 8 10:59:04 PDT 2022
Author: Ryan Thomas Lynch (@emosy)
Date: 2022-07-08T10:58:38-07:00
New Revision: f192392299e6b5a9cefb9d341f17b06f1fa3efa5
URL: https://github.com/llvm/llvm-project/commit/f192392299e6b5a9cefb9d341f17b06f1fa3efa5
DIFF: https://github.com/llvm/llvm-project/commit/f192392299e6b5a9cefb9d341f17b06f1fa3efa5.diff
LOG: [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
Added:
Modified:
mlir/utils/vscode/tablegen-language-configuration.json
Removed:
################################################################################
diff --git a/mlir/utils/vscode/tablegen-language-configuration.json b/mlir/utils/vscode/tablegen-language-configuration.json
index 24227bc75ef7c..6a1455bf8ca7f 100644
--- a/mlir/utils/vscode/tablegen-language-configuration.json
+++ b/mlir/utils/vscode/tablegen-language-configuration.json
@@ -6,6 +6,24 @@
"*/"
]
},
+ "colorizedBracketPairs": [
+ [
+ "{",
+ "}"
+ ],
+ [
+ "[",
+ "]"
+ ],
+ [
+ "(",
+ ")"
+ ],
+ [
+ "<",
+ ">"
+ ]
+ ],
"brackets": [
[
"{",
More information about the Mlir-commits
mailing list