[vscode-mlir] add tablegen <> bracket colorization
authorRyan Thomas Lynch (@emosy) <ryan.lynch@gatech.edu>
Fri, 8 Jul 2022 17:58:20 +0000 (10:58 -0700)
committerJacques Pienaar <jpienaar@google.com>
Fri, 8 Jul 2022 17:58:38 +0000 (10:58 -0700)
Add support for colorizing angle brackets "<>" in TableGen files.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D128229

mlir/utils/vscode/tablegen-language-configuration.json

index 24227bc..6a1455b 100644 (file)
@@ -6,6 +6,24 @@
       "*/"
     ]
   },
+  "colorizedBracketPairs": [
+    [
+      "{",
+      "}"
+    ],
+    [
+      "[",
+      "]"
+    ],
+    [
+      "(",
+      ")"
+    ],
+    [
+      "<",
+      ">"
+    ]
+  ],
   "brackets": [
     [
       "{",