Skip to content

fix(context): normalize file paths for Windows compatibility (v2)#4

Open
john-mutuma wants to merge 1 commit intomainfrom
fix/windows-file-context-path
Open

fix(context): normalize file paths for Windows compatibility (v2)#4
john-mutuma wants to merge 1 commit intomainfrom
fix/windows-file-context-path

Conversation

@john-mutuma
Copy link
Copy Markdown
Owner

Summary

  • Updated fix for file context path normalization on Windows
  • Previous fix only normalized nvim_buf_get_name when ctx.name was nil — now normalizes ALL paths including pre-set ctx.name from pickers and textobject contexts
  • Also normalizes vim.fs.relpath output which may return backslash paths on Windows

@john-mutuma
Copy link
Copy Markdown
Owner Author

Superseded by direct commit to main (36c407f).

@john-mutuma john-mutuma closed this Mar 3, 2026
@john-mutuma john-mutuma reopened this Mar 3, 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.

1 participant