VonHeikemen / searchbox.nvim

Start your search from a more comfortable place, say the upper right corner?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with `match_all`

olimorris opened this issue · comments

commented

After the recent updates, I'm getting an error when I try and run require("searchbox").match_all()

E5108: Error executing lua: vim/shared.lua:0: after the second argument: expected table, got nil
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        vim/shared.lua: in function 'merge_config'
        .../pack/packer/start/searchbox.nvim/lua/searchbox/init.lua:92: in function 'match_all'
        /Users/Oli/.config/nvim/lua/Oli/core/mappings.lua:426: in function 'orig'
        ...pack/packer/start/legendary.nvim/lua/legendary/utils.lua:231: in function <...pack/packer/start/legendary.nv
im/lua/legendary/utils.lua:223>

I solved it with require("searchbox").match_all({})

But broke my keymappings which made me 😢 .

My bad. This is fixed now in 82933c8.