Skip to content

E5108 error when nvim-spectre is installed #8

@asgeo1

Description

@asgeo1

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions