提交 74a5dc99 编写于 作者: R Ramya Rao 提交者: GitHub

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

上级 cd896ba1
......@@ -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": [
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册