internal/lsp: prepare for tagged version

This change temporarily disables fuzzy matching and deep completion by
default, leaving them opt-in for the tagged versions. These will be
re-enabled after the tag on master to continue iterating on them.

Also, update the hard-coded version string.

Change-Id: I0aa688ce067abfe8ae8ebe52a25c8514ec2c7e48
Reviewed-on: https://go-review.googlesource.com/c/tools/+/194777
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Rebecca Stambler 2019-09-11 12:28:40 -04:00
parent feee8acb39
commit 4f2ddba30a
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ const (
)
// Version is a manually-updated mechanism for tracking versions.
var Version = "v0.1.3"
var Version = "v0.1.4"
// This writes the version and environment information to a writer.
func PrintVersionInfo(w io.Writer, verbose bool, mode PrintMode) {

View File

@ -29,8 +29,8 @@ var (
},
Completion: CompletionOptions{
Documentation: true,
Deep: true,
FuzzyMatching: true,
Deep: false,
FuzzyMatching: false,
},
DefaultViewOptions: ViewOptions{
Env: os.Environ(),