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

EasyMotion: Vim(call): E475 Invalid argument -1 #452

Open
rickalex21 opened this issue Feb 4, 2021 · 7 comments · Fixed by timsu92/vim-easymotion#2 · May be fixed by #488
Open

EasyMotion: Vim(call): E475 Invalid argument -1 #452

rickalex21 opened this issue Feb 4, 2021 · 7 comments · Fixed by timsu92/vim-easymotion#2 · May be fixed by #488

Comments

@rickalex21
Copy link

rickalex21 commented Feb 4, 2021

Hello, thanks for creating this wonderful plugin. I'm not sure I can reproduce this problem since it happens at random times but this is the message that I get sometimes.

EasyMotion: Vim(call): E475 Invalid argument -1 : function EasyMotion#WB[4]..<SNR>107_EasyMotion, line 109. 

The mapping that I was using is sj <Plug>(easymotion-w).

@YPCrumble
Copy link

I'm encountering the same issue. In my case the error appears related to a conflict with SimpylFold.

The error only happens if my code is folded - if I expand all folds it works fine.

Also - the error only occurs when searching forwards in folded code - searching backwards still works.

@ossie-git
Copy link

I'm running into this issue as well. As soon as I unfold all my folds, it works. One thing I did notice is that although searching backwards works, it does not search through folded sections or even folded headings

@lyndhurst
Copy link

I have the same problem with vim. I noticed that different filetypes have different set of characters affected. For example with markdown files, only "a,e,r,l,u" trigger the error while other characters work fine, with pandoc almost all characters fail, in vimrc only a couple, and so on..

It is confirmed on my side that unfolding with 'zn' fixes the issue until folding some text again. Removing the SimplyFold plugin has no effect though.

Has anyone found a fix?

@zhenchuanzhiaa
Copy link

I also meet this problem

@timsu92
Copy link

timsu92 commented Aug 29, 2022

Is #484 fixing your problem? I used that and it's working well!

@ossie-git
Copy link

@timsu92 Gave it a quick shot and it looks like it works. Thanks

timsu92 added a commit to timsu92/vim-easymotion that referenced this issue Aug 29, 2022
timsu92 added a commit to timsu92/vim-easymotion that referenced this issue Aug 29, 2022
@YPCrumble
Copy link

This issue appears to be back with a slightly different error stack as referenced here: #484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants