1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:24:41 -07:00

internal/lsp/cmd: use 'go-diff' by default in format command

Change-Id: Idf6c828721921df21de3d25930580ad5ed5808d3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/202620
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
Rebecca Stambler 2019-10-22 17:15:19 -04:00
parent 80f3f9ca08
commit 9ba33e0b33

View File

@ -305,6 +305,7 @@ func (c *cmdClient) Configuration(ctx context.Context, p *protocol.ParamConfig)
}
results[i] = map[string]interface{}{
"env": env,
"go-diff": true,
}
}
return results, nil