diff --git a/extensions/go/syntaxes/go.json b/extensions/go/syntaxes/go.json index 5adc522e0a4..4a62b05ef8c 100644 --- a/extensions/go/syntaxes/go.json +++ b/extensions/go/syntaxes/go.json @@ -4,7 +4,7 @@ "If you want to provide a fix or improvement, please create a pull request against the original repository.", "Once accepted there, we are happy to receive an update request." ], - "version": "https://github.com/atom/language-go/commit/c413bc93966c03031cd114c53c54bc7927eea25b", + "version": "https://github.com/atom/language-go/commit/f7c6ca60bfd9d11252560b21e9378e5f82438ce3", "scopeName": "source.go", "name": "Go", "comment": "Go language", @@ -233,7 +233,7 @@ ] }, { - "match": "(?,\\s*\\w+(?:\\.\\w+)*)*)(?=\\s*=(?!=))", "captures": { "1": { "patterns": [ @@ -242,7 +242,7 @@ "name": "invalid.illegal.identifier.go" }, { - "match": "\\w+(?:\\.\\w+)?", + "match": "\\w+(?:\\.\\w+)*", "name": "variable.other.assignment.go", "captures": { "0": { @@ -627,7 +627,7 @@ } }, { - "match": "(\\w+(?:,\\s*\\w+)*)(\\s+(\\[(\\d*|\\.\\.\\.)\\])*\\*?\\w+(?:\\.\\w+)?\\s*[^=].*)", + "match": "(\\w+(?:,\\s*\\w+)*)(\\s+(\\[(\\d*|\\.\\.\\.)\\])*\\*?(<-)?\\w+(?:\\.\\w+)?\\s*[^=].*)", "captures": { "1": { "patterns": [