1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:54:45 -07:00

gopls/doc: add documentation for "local" configuration

Change-Id: I9181c986b8e5aa21526ff934b62c041f3c820b7c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/224117
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
This commit is contained in:
Rebecca Stambler 2020-03-19 15:12:30 -04:00
parent 9a0fabac01
commit c97a9db72c

View File

@ -56,6 +56,13 @@ If company chooses to use its own `godoc.org`, its address can be used as well.
Default: `"pkg.go.dev"`.
### **local** string
This is the equivalent of the `goimports -local` flag, which puts imports beginning with this string after 3rd-party packages.
It should be the prefix of the import path whose imports should be grouped separately.
Default: `""`.
## Experimental
The below settings are considered experimental. They may be deprecated or changed in the future. They are typically used to test experimental opt-in features or to disable features.