Lua error in `man` provider when using `hover_select`
kmoschcau opened this issue · 0 comments
kmoschcau commented
Hi, when I use the hover_select
function, I get the following error:
E5108: Error executing lua: ...l/share/nvim/lazy/hover.nvim/lua/hover/providers/man.lua:10: Invalid 'name': Expected Lua string
stack traceback:
[C]: in function '__index'
...l/share/nvim/lazy/hover.nvim/lua/hover/providers/man.lua:10: in function 'enabled'
.../.local/share/nvim/lazy/hover.nvim/lua/hover/actions.lua:19: in function <.../.local/share/nvim/lazy/hover.nvim/lua/hover/actions.lua:18>
vim/shared.lua: in function 'tbl_filter'
.../.local/share/nvim/lazy/hover.nvim/lua/hover/actions.lua:254: in function 'hover_select'
...moschcau/.local/share/nvim/lazy/hover.nvim/lua/hover.lua:15: in function <...moschcau/.local/share/nvim/lazy/hover.nvim/lua/hover.lua:14>
I also noticed that the lua LSP is complaining about my calls of hover()
and hover_select()
now expecting one argument (the options table) and receiving none. Not sure if this needs to be changed, because the given configuration examples of this plugin also do not pass any arguments to them. (To my knowledge rhs
functions in vim.keymap.set
do not receive any arguments.)