Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp: don't add multiple views for the same folder
When we add a view, we should check if we already have a view for the given folder. Updates golang/go#48844 Change-Id: I0de27d420e2b4df3b33b913ae27b108bab6b7d12 Reviewed-on: https://go-review.googlesource.com/c/tools/+/356933 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org>
- Loading branch information
1 parent
81f084e
commit 4ea6123
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters