Skip to content

Commit

Permalink
Fix opening file with colon (zed-industries#17281)
Browse files Browse the repository at this point in the history
Closes zed-industries#14100

Release Notes:

- Fixed unable to open file with a colon from Zed CLI

-----

I didn't make change to tests for the first two commits. I changed them
to easily find offending test cases. Behavior changes are in last commit
message.

In the last commit, I changed how `PathWithPosition` should intreprete
file paths. If my assumptions are off, please advise so that I can make
another approach.

I also believe further constraints would be better for
`PathWithPosition`'s intention. But people can make future improvements
to `PathWithPosition`.
  • Loading branch information
erickguan authored and noaccOS committed Oct 19, 2024
1 parent c573ca3 commit 6298f48
Showing 1 changed file with 301 additions and 199 deletions.
Loading

0 comments on commit 6298f48

Please sign in to comment.