Fix 'Vim:E385: search hit BOTTOM without match' when jumping to the last match in the buffer
When jumping to the last match in the buffer following error occurs:
Error executing Lua callback: vim/_editor.lua:0: nvim_exec2(): Vim:E385: search hit BOTTOM without match for:
Replacing vim.cmd("/"...
with vim.fn.setreg("/"...
solves the issue.