Skip to content

Commit c6d828b

Browse files
committed
internal/lsp: update version number for gopls/v0.3.2
Change-Id: I584e58742fc03df9bb33ad774d4a039c5b4a88e5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/219129 Reviewed-by: Heschi Kreinick <heschi@google.com>
1 parent 7709873 commit c6d828b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

internal/lsp/cache/view.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ func (v *view) fileVersion(filename string) string {
408408
return fh.Identity().String()
409409
}
410410

411+
func (v *view) contains(uri span.URI) bool {
412+
return strings.HasPrefix(string(uri), string(v.folder))
413+
}
414+
411415
func (v *view) mapFile(uri span.URI, f *fileBase) {
412416
v.filesByURI[uri] = f
413417
if f.addURI(uri) == 1 {

internal/lsp/debug/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
)
2222

2323
// Version is a manually-updated mechanism for tracking versions.
24-
var Version = "v0.3.1"
24+
var Version = "v0.3.2"
2525

2626
// PrintServerInfo writes HTML debug info to w for the Instance s.
2727
func PrintServerInfo(w io.Writer, s Instance) {

0 commit comments

Comments
 (0)