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

File argument has backslashes added before spaces, % and # #47

Closed
834N5 opened this issue Aug 14, 2023 · 2 comments
Closed

File argument has backslashes added before spaces, % and # #47

834N5 opened this issue Aug 14, 2023 · 2 comments

Comments

@834N5
Copy link
Contributor

834N5 commented Aug 14, 2023

In ex_init() in ex.c, a backslash is added before spaces, % and #.
I have removed it as it prevents me from editing or viewing files containing these characters.
I have not encountered any issues so far.
Is there any particular purpose for doing this? It seems quite useless to me.

@kyx0r
Copy link
Owner

kyx0r commented Aug 14, 2023

You are correct. I think this is an oversight which is no longer necessary. Neatvi needs this code because they perform path expansion in the dedicated function, meanwhile I no longer do it on per function basis.

I'll fix it, thanks for pointing it out.

@834N5
Copy link
Contributor Author

834N5 commented Aug 15, 2023

Thank you.

@834N5 834N5 closed this as completed Aug 15, 2023
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

2 participants