Skip to content

Wrap source.cwd in function for #1524#1525

Merged
deathbeam merged 3 commits intoCopilotC-Nvim:mainfrom
Tlunch:1524-handle-percents-in-cwd-name
Feb 12, 2026
Merged

Wrap source.cwd in function for #1524#1525
deathbeam merged 3 commits intoCopilotC-Nvim:mainfrom
Tlunch:1524-handle-percents-in-cwd-name

Conversation

@Tlunch
Copy link
Copy Markdown
Contributor

@Tlunch Tlunch commented Feb 12, 2026

Closes #1524

Treating the result of source.cwd() as raw result for handing to gsub to prevent it looking for capture indexes in the case of a %number in the dir name.

Assumption that source.cwd function will not accept any arguments
in the future as it currently doesn't allows simplification
@deathbeam deathbeam merged commit b7313ea into CopilotC-Nvim:main Feb 12, 2026
1 check passed
@deathbeam
Copy link
Copy Markdown
Collaborator

@all-contributors add @Tlunch for code

@allcontributors
Copy link
Copy Markdown
Contributor

@deathbeam

I've put up a pull request to add @Tlunch! 🎉

@Tlunch
Copy link
Copy Markdown
Contributor Author

Tlunch commented Feb 12, 2026

Thanks for the help and getting it reviewed quickly @deathbeam

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.

Incorrectly treating %20 in filename as a capture index

2 participants