Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim -V10C:\ incorrect completion #3

Open
jfishe opened this issue Sep 21, 2020 · 1 comment
Open

vim -V10C:\ incorrect completion #3

jfishe opened this issue Sep 21, 2020 · 1 comment

Comments

@jfishe
Copy link
Owner

jfishe commented Sep 21, 2020

  • vim -V10C:\ completes vim -V10C:'C:\$Recycle.Bin\'
  • vim -V10'C:\' completes vim -V10-V10'C:\data\'
  • tabexpansion2 -inputScript 'vim -V10C:\' -cursorColumn 11 | Select-Object -ExpandProperty CompletionMatches does not pre-pend -V10. PS uses C: as a word separator.
@jfishe
Copy link
Owner Author

jfishe commented Sep 21, 2020

TabExpansion2 and TabExpansion don't re-produce the problem.

Check for quote in $PreviousWord and don't quote or pre-pend -V[N].

jfishe added a commit that referenced this issue Sep 22, 2020
fix: Issue #3 by checking for ' in -V[N].

refactor: remove New-TabItem since Get-VimChildItem provides
CompletionResult.
jfishe added a commit that referenced this issue Sep 22, 2020
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

No branches or pull requests

1 participant