Closed dnebauer closed 8 months ago
seeing the same behavior on a fresh install
Can reproduce, thanks for catching this bug!
I've added a fix for this in #62, but intend on using vim.validate
for validation in a future PR. Hopefully there won't be any similar issues in the future :D
Upon invoking
UrlView
in a buffer showing a file, I get the warning message:Adding a
bufnr
option to the plugin setup did not prevent the error.I took a look at the plugin code. I presume the warning is being thrown by
lua/urlview/search/validation.lua
in local functionverify_or_accept
(l 47) as called by module functionbuffer
(l 70). I tried unravelling the code further to determine how this function is called but soon gave up.This is an annoying warning as it appears to indicate a coding problem rather than a configuration issue, but it does not break this otherwise excellent plugin.