Update Go grammar to atom/language-go@11ad31e7 (2016-12-30) (#23065)

This commit is contained in:
Ramya Rao 2017-03-23 15:12:46 -07:00 committed by GitHub
parent cd896ba18e
commit 74a5dc99fb

View File

@ -9,26 +9,7 @@
"foldingStopMarker": "(}|\\))\\s*$",
"patterns": [
{
"comment": "Block comments",
"begin": "/\\*",
"end": "\\*/",
"captures": {
"0": {
"name": "punctuation.definition.comment.go"
}
},
"name": "comment.block.go"
},
{
"comment": "Line comments",
"begin": "//",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.go"
}
},
"end": "$",
"name": "comment.line.double-slash.go"
"include": "#comments"
},
{
"comment": "Interpreted string literals",
@ -219,6 +200,9 @@
"name": "punctuation.definition.string.end.go"
}
}
},
{
"include": "#comments"
}
],
"end": "\\)",
@ -351,6 +335,30 @@
}
]
},
"comments": {
"patterns": [
{
"begin": "/\\*",
"end": "\\*/",
"captures": {
"0": {
"name": "punctuation.definition.comment.go"
}
},
"name": "comment.block.go"
},
{
"begin": "//",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.go"
}
},
"end": "$",
"name": "comment.line.double-slash.go"
}
]
},
"delimiters": {
"patterns": [
{