[go syntax] Don't treat multiline var specially

Fixes https://github.com/Microsoft/vscode-go/issues/223.
This commit is contained in:
Luke Hoban 2016-03-04 11:05:42 -08:00
parent 9f881a0898
commit 22b5600ed7

View file

@ -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": ";",