mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
[go syntax] Don't treat multiline var
specially
Fixes https://github.com/Microsoft/vscode-go/issues/223.
This commit is contained in:
parent
9f881a0898
commit
22b5600ed7
|
@ -226,29 +226,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Multiline variable declarations/assignments",
|
||||
"begin": "(\\bvar\\b)\\s+(\\()",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.var.go"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.other.bracket.round.go"
|
||||
}
|
||||
},
|
||||
"end": "\\)",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.other.bracket.round.go"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#variables"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "Terminators",
|
||||
"match": ";",
|
||||
|
|
Loading…
Reference in a new issue