mirror of
https://github.com/Microsoft/vscode
synced 2024-07-05 01:08:57 +00:00
Update Go grammar to atom/language-go@11ad31e7 (2016-12-30) (#23065)
This commit is contained in:
parent
cd896ba18e
commit
74a5dc99fb
|
@ -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": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user