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

nvim v0.7.0 error #84

Closed
lsaint opened this issue Jun 6, 2022 · 4 comments
Closed

nvim v0.7.0 error #84

lsaint opened this issue Jun 6, 2022 · 4 comments

Comments

@lsaint
Copy link

lsaint commented Jun 6, 2022

Caught: Vim(call):E16: Invalid range: call lfMru#record(s:Normalize(expand('<afile>:p'))) | call lfMru#recordBuffer(expand('<abuf>'))
Error detected while processing function ferret#private#nvim#close_cb[10]..ferret#private#shared#finalize_search:
line   32:
E16: Invalid range:     call s:set_title(l:post, 'Search `' . l:lastsearch . '`')
Press ENTER or type command to continue
Error detected while processing function ferret#private#nvim#close_cb:
line   10:
E171: Missing :endif
Press ENTER or type command to continue
Error detected while processing function <SNR>90_timer_callback:
line    9:
E16: Invalid range:     call timer_pause(a:timer_id, 1)

It would not occur in nvim 0.6.1 when searching.

@wincent
Copy link
Owner

wincent commented Jun 11, 2022

Hi @lsaint. Anything special needed to reproduce this? What exact command are you running? Are you calling it from a mapping? What is the string/pattern you're searching for?

I do notice that the function at the top of the stack trace (lfMru#record) is not from Ferret but from some other plug-in. Do you know what plug-in that is? Does the problem reproduce without it?

@lsaint
Copy link
Author

lsaint commented Jun 15, 2022

Hi @lsaint. Anything special needed to reproduce this? What exact command are you running? Are you calling it from a mapping? What is the string/pattern you're searching for?

I do notice that the function at the top of the stack trace (lfMru#record) is not from Ferret but from some other plug-in. Do you know what plug-in that is? Does the problem reproduce without it?

Sorry about my indistinct expression.
It's a bit complex, seem like it involve to 3 plugin, ferret,ack.vim and LeaderF. All of them are working well on their own but got this error when I use them together.
lfMru#record is from LeaderF
the trigger action is from ack.vim
and the error message is about ferret

the reproduction step is:
nvim 0.7.0
use Ack! to find a keyword, then open a random file in the quick-fix window. the error will occur when I redo it a few times.

@wincent
Copy link
Owner

wincent commented Jun 15, 2022

Thanks for the extra details @lsaint. To be honest, I'm not a user of those plug-ins, and I'm not very likely to have time to install them in order to trouble-shoot the interaction, but I would of course be open to reviewing a pull request if you or somebody else wanted to do some investigation and get to the bottom of it.

@lsaint
Copy link
Author

lsaint commented Jun 17, 2022

got it. thanks.

@lsaint lsaint closed this as completed Jun 17, 2022
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