mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Update Go grammar to atom/language-go@11ad31e7 (2016-12-30) (#23065)
This commit is contained in:
@@ -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": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user