grammars/source.ahk.json in github-linguist-7.6.1 vs grammars/source.ahk.json in github-linguist-7.7.0
- old
+ new
@@ -14,12 +14,12 @@
}
}
},
{
"name": "comment.block.ahk",
- "begin": "^/\\*",
- "end": "^\\*/"
+ "begin": "^\\s*/\\*",
+ "end": "^\\s*\\*/"
},
{
"name": "functionline.ahk",
"match": "^(?i)\\s*((?!if|while)\\w+)(\\()(.*)(\\))\\s*({)\\s*(;?.*)$",
"captures": {
@@ -58,10 +58,10 @@
}
}
},
{
"name": "hotkeyline.ahk",
- "match": "^\\s*(.+)(::)",
+ "match": "^\\s*(\\S+(?:\\s+\u0026\\s+\\S+)*)(::)",
"captures": {
"1": {
"name": "entity.name.function.label.ahk"
},
"2": {