Skip to content

Normalize config paths across platforms#289

Closed
ramcguire wants to merge 1 commit into
blopker:mainfrom
ramcguire:main
Closed

Normalize config paths across platforms#289
ramcguire wants to merge 1 commit into
blopker:mainfrom
ramcguire:main

Conversation

@ramcguire

Copy link
Copy Markdown

Expand ~ and ~/... in config path overrides on Windows while keeping ~\... style paths Windows only. Normalize workspace relative paths to forward slashes so config matching is consistent across platforms.

This is useful when using shared dotfiles across platforms, for example using the same global config in both WSL and Windows. Also makes workspace relative paths consistent. Note that this may have a side effect if someone were using Windows specific override globs, e.g.

[[overrides]]
paths = ["src\\crates\\*.rs"]

Expand `~` and `~/...` in config path overrides on Windows while keeping `~\...` style paths Windows only.
Normalize LSP workspace relative paths to forward slashes so config matching is consistent across platforms.
@blopker

blopker commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Hey! Thanks for the poke on this. I don't have a Windows machine handy, so support has been best-effort. Anyway, I've taken the report and spun out a PR I think more aligns with the codebase: #293 I'll close this in favor of that.

Thanks!

@blopker blopker closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants