提交 22b5600e 编写于 作者: L Luke Hoban

[go syntax] Don't treat multiline `var` specially

Fixes https://github.com/Microsoft/vscode-go/issues/223.
上级 9f881a08
......@@ -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": ";",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册