From 4f2ddba30aff720d7cb90a510a695e622273ce77 Mon Sep 17 00:00:00 2001 From: Rebecca Stambler Date: Wed, 11 Sep 2019 12:28:40 -0400 Subject: [PATCH] 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 Run-TryBot: Rebecca Stambler TryBot-Result: Gobot Gobot --- internal/lsp/debug/info.go | 2 +- internal/lsp/source/options.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/lsp/debug/info.go b/internal/lsp/debug/info.go index 2e8313f511..37f72bd0dc 100644 --- a/internal/lsp/debug/info.go +++ b/internal/lsp/debug/info.go @@ -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) { diff --git a/internal/lsp/source/options.go b/internal/lsp/source/options.go index 062f020963..120e1703c0 100644 --- a/internal/lsp/source/options.go +++ b/internal/lsp/source/options.go @@ -29,8 +29,8 @@ var ( }, Completion: CompletionOptions{ Documentation: true, - Deep: true, - FuzzyMatching: true, + Deep: false, + FuzzyMatching: false, }, DefaultViewOptions: ViewOptions{ Env: os.Environ(),