fix(picker.input): prevent save dialog

This commit is contained in:
Folke Lemaitre 2025-02-10 22:06:09 +01:00
parent 8dce32f85d
commit fcb2f508dd
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -33,6 +33,7 @@ function M.new(picker)
vim.bo[win.buf].modified = false
local text = picker.opts.live and self.filter.search or self.filter.pattern
vim.api.nvim_buf_set_lines(win.buf, 0, -1, false, { text })
vim.bo[win.buf].modified = false
end,
on_win = function()
self:highlights()