Stop canonicalizing LSP locations before worktree lookup (#63754)
Closes
https://github.com/zed-industries/zed/pull/61392#issuecomment-5538772188
Follow-up to https://github.com/zed-industries/zed/pull/61392
https://github.com/user-attachments/assets/6c745474-6b6e-4cfa-b1b6-87e9631973bf
Not every language server wants to deal with the canonicalized paths,
some (e.g. gopls) can resolve them themselves, and keep sending
symlinked paths over the LSP — canonicalizing them means we will break
out of the current worktree and open odd singleton files instead.
Release Notes:
- Fixed goToDefinition opening out-of-worktree entries
3569541038Kirill Bulatov committed on 9/4/2026, 12:15:49 PM· committed by GitHubparenta7bc7d7