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

E117: Unknown function: <SNR>142_wrap #191

Closed
flipjs opened this Issue Apr 1, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@flipjs
Copy link

commented Apr 1, 2019

When grepper is invoked and try to run any command (for example :quit), I'm getting this error:

E117: Unknown function: 142_wrap
E:15 Invalid expression: <80>R142_wrap("^M")

In order for me to quit vim, I have to use command history (q:) and select ':q' from the list.

The only way for me to continue using vim-grepper is to git checkout be91bd0 . So any commit from a55a14b (Prompt: refactor mapping handling) up to the latest commit, it won't work for me.

Steps to reproduce:

  1. :Grepper -tool rg
  2. Type any command, for example :help or :quit

No custom configuration.

@mhinz

This comment has been minimized.

Copy link
Owner

commented Apr 1, 2019

This is not coming from this plugin. Search your plugins for s:wrap(.

@flipjs

This comment has been minimized.

Copy link
Author

commented Apr 1, 2019

Will do. Thanks!

@flipjs

This comment has been minimized.

Copy link
Author

commented Apr 1, 2019

I think this is whats causing it:

vim-slash/plugin/slash.vim
23:function! s:wrap(seq)

I removed the vim-slash plugin and I don't get the error anymore.

I've looked at vim-slash issues and I believe this is related to it:

junegunn/vim-slash#18

Thanks.

@mhinz mhinz closed this in 14f949f Apr 1, 2019

@mhinz

This comment has been minimized.

Copy link
Owner

commented Apr 1, 2019

Should be fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.