🐻 minimal ui2 fuzzy finder for Neovim codeberg.org/comfysage/artio.nvim
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

robin 0a646731 6876c901

+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