🐻 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): only update `prompt` when prompttext changes

robin ac621a38 f4eeae90

+3 -1
+3 -1
lua/artio/view.lua
··· 119 119 120 120 self:promptpos() 121 121 self:setlines(promptidx, promptidx + 1, lines) 122 - vim.fn.prompt_setprompt(ui2.bufs.cmd, promptstr) 122 + if vim.fn.prompt_getprompt(ui2.bufs.cmd) ~= promptstr then 123 + vim.fn.prompt_setprompt(ui2.bufs.cmd, promptstr) 124 + end 123 125 vim.schedule(function() 124 126 local ok, result = pcall(vim.api.nvim_buf_set_mark, ui2.bufs.cmd, ":", promptidx + 1, promptlen, {}) 125 127 if not ok then