vim-strip-trailing-whitespace icon indicating copy to clipboard operation
vim-strip-trailing-whitespace copied to clipboard

E5108 error when nvim-spectre is installed

Open asgeo1 opened this issue 4 years ago • 0 comments

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!

asgeo1 avatar Oct 03 '21 23:10 asgeo1