提交 9370ce97 编写于 作者: M Matt Bierner

Use destructre

上级 245155d1
......@@ -81,9 +81,7 @@ class SyncedBuffer {
return;
}
for (const event of events) {
const range = event.range;
const text = event.text;
for (const { range, text } of events) {
const args: Proto.ChangeRequestArgs = {
file: filePath,
line: range.start.line + 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册