Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp/lsprpc: prefer XDG_RUNTIME_DIR for the daemon socket
If XDG_RUNTIME_DIR is set, it makes more sense as a location for the gopls daemon socket than TMPDIR. This avoids auto discovery issues when TMPDIR is overridden for certain editors. For golang/go#41266 Change-Id: I5a0a20c6185ca60d8ff03b8d948b17a636aa8404 Reviewed-on: https://go-review.googlesource.com/c/tools/+/274272 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]>
- Loading branch information