From 65e69ff2d1480a46165c7399cc69e94b88b1c909 Mon Sep 17 00:00:00 2001 From: Rob Findley Date: Tue, 12 May 2020 09:25:06 -0400 Subject: [PATCH] gopls/doc: update code lens documentation for the new `test` lens Change-Id: I334981a4c9c10dab9520d7e3fcc19981bcd4a86e Reviewed-on: https://go-review.googlesource.com/c/tools/+/233477 Reviewed-by: Rebecca Stambler --- gopls/doc/settings.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gopls/doc/settings.md b/gopls/doc/settings.md index 7f0c22e187..793369659e 100644 --- a/gopls/doc/settings.md +++ b/gopls/doc/settings.md @@ -88,8 +88,9 @@ Example Usage: Overrides the enabled/disabled state of various code lenses. Currently, we support two code lenses: -* `generate`: run `go generate` as specified by a `//go:generate` directive. -* `upgrade.dependency`: upgrade a dependency listed in a `go.mod` file. +* `generate`: [default: enabled] run `go generate` as specified by a `//go:generate` directive. +* `upgrade.dependency`: [default: enabled] upgrade a dependency listed in a `go.mod` file. +* `test`: [default: disabled] run `go test -run` for a test func. By default, both of these code lenses are enabled.