Update textmate syntax file
Allow comments in more places and fix function params. PiperOrigin-RevId: 279986797
This commit is contained in:
parent
0e2affdf59
commit
a6fac0aa29
|
|
@ -104,6 +104,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patterns" : [
|
"patterns" : [
|
||||||
|
{
|
||||||
|
"include" : "#comment"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"include" : "#branch_target"
|
"include" : "#branch_target"
|
||||||
},
|
},
|
||||||
|
|
@ -273,6 +276,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patterns" : [
|
"patterns" : [
|
||||||
|
{
|
||||||
|
"include" : "#comment"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"include" : "#attributes"
|
"include" : "#attributes"
|
||||||
},
|
},
|
||||||
|
|
@ -332,8 +338,8 @@
|
||||||
"name" : "meta.attributes.mlir"
|
"name" : "meta.attributes.mlir"
|
||||||
},
|
},
|
||||||
"function_params" : {
|
"function_params" : {
|
||||||
"end" : ")",
|
"end" : "\\)",
|
||||||
"begin" : "(",
|
"begin" : "\\(",
|
||||||
"patterns" : [
|
"patterns" : [
|
||||||
{
|
{
|
||||||
"include" : "#identifier"
|
"include" : "#identifier"
|
||||||
|
|
@ -344,7 +350,6 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scope" : "mlir",
|
|
||||||
"patterns" : [
|
"patterns" : [
|
||||||
{
|
{
|
||||||
"match" : "\\b(module)\\b",
|
"match" : "\\b(module)\\b",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue