Skip to content

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.
@Konfekt
Copy link

Konfekt commented Aug 8, 2025

Thank you for fixing this

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.

2 participants