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>
diff --git a/internal/lsp/debug/info.go b/internal/lsp/debug/info.go
index 2e8313f..37f72bd 100644
--- a/internal/lsp/debug/info.go
+++ b/internal/lsp/debug/info.go
@@ -20,7 +20,7 @@
)
// 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 062f020..120e170 100644
--- a/internal/lsp/source/options.go
+++ b/internal/lsp/source/options.go
@@ -29,8 +29,8 @@
},
Completion: CompletionOptions{
Documentation: true,
- Deep: true,
- FuzzyMatching: true,
+ Deep: false,
+ FuzzyMatching: false,
},
DefaultViewOptions: ViewOptions{
Env: os.Environ(),