diff options
| -rw-r--r-- | mlir/utils/textmate/mlir.json | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mlir/utils/textmate/mlir.json b/mlir/utils/textmate/mlir.json index a7d4690c995..bc9c18b747c 100644 --- a/mlir/utils/textmate/mlir.json +++ b/mlir/utils/textmate/mlir.json @@ -105,6 +105,9 @@ }, "patterns" : [ { + "include" : "#comment" + }, + { "include" : "#branch_target" }, { @@ -274,6 +277,9 @@ }, "patterns" : [ { + "include" : "#comment" + }, + { "include" : "#attributes" }, { @@ -332,8 +338,8 @@ "name" : "meta.attributes.mlir" }, "function_params" : { - "end" : ")", - "begin" : "(", + "end" : "\\)", + "begin" : "\\(", "patterns" : [ { "include" : "#identifier" @@ -344,7 +350,6 @@ ] } }, - "scope" : "mlir", "patterns" : [ { "match" : "\\b(module)\\b", |

