minimal extui fuzzy finder for neovim

fix(view): save prompt col in prompt mark (`':`)

fix double prompt line issue caused by neovim/neovim#36194

https://github.com/neovim/neovim/commit/ed4c549ea2436b820860c3453d348c84d441de9b

+1 -1
+1 -1
lua/artio/view.lua
··· 121 121 self:setlines(promptidx, promptidx + 1, lines) 122 122 vim.fn.prompt_setprompt(ext.bufs.cmd, promptstr) 123 123 vim.schedule(function() 124 - local ok, result = pcall(vim.api.nvim_buf_set_mark, ext.bufs.cmd, ":", promptidx + 1, 0, {}) 124 + local ok, result = pcall(vim.api.nvim_buf_set_mark, ext.bufs.cmd, ":", promptidx + 1, promptlen, {}) 125 125 if not ok then 126 126 logerror(("Failed to set mark %d:%d\n\t%s"):format(promptidx, promptlen, result)) 127 127 return