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

E5108 error when nvim-spectre is installed #8

Open
asgeo1 opened this issue Oct 3, 2021 · 0 comments
Open

E5108 error when nvim-spectre is installed #8

asgeo1 opened this issue Oct 3, 2021 · 0 comments

Comments

@asgeo1
Copy link

asgeo1 commented Oct 3, 2021

Thanks for this plugin. I'm having an issue though, if nvim-spectre is installed.

Calling :lua require('spectre').open() will open the spectre window.

But if I then call :lua require('spectre').open() a 2nd time (whilst it's already open), I get this error.

E5108: Error executing lua ...site/pack/packer/start/nvim-spectre/lua/spectre/init.lua:109: Vim:Error executing lua callback: [string ":lua"]:1: Vim(call):E16: Invalid r
ange: call s:RemoveRange(start, end) | endif

which seems to be coming from this plugin.

Is this a bug that can be fixed? Or maybe there is a way to not have it run on a Spectre window. Any ideas?

thanks!

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

1 participant