minimal extui fuzzy finder for neovim

fix(view): only update `prompt` when prompttext changes

+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