Skip to content

Fix error when opening new files containing quotes #41

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EvanHahn
Copy link

vim-fetch gave this error when opening a new file that contained quotes:

Error detected while processing VimEnter Autocommands for "*":
E116: Invalid arguments for function fetch#buffer

For example, vim '"ok".txt' would give an error if "ok".txt didn't exist.

This was happening because the quotes weren't being properly escaped. This fixes that and removes the error.

I tested this with my personal configuration and on a completely fresh virtual machine.

`vim-fetch` gave this error when opening a new file that contained
quotes:

    Error detected while processing VimEnter Autocommands for "*":
    E116: Invalid arguments for function fetch#buffer

For example, `vim '"ok".txt'` would give an error if `"ok".txt` didn't
exist.

This was happening because the quotes weren't being properly escaped.
This fixes that and removes the error.

I tested this with my personal configuration and on a completely fresh
virtual machine.
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