minimal extui fuzzy finder for neovim

fix(view): allow fractal winheight

+2 -2
+1 -1
lua/artio/config.lua
··· 33 33 use_icons = package.loaded['mini.icons'] and true or false, 34 34 }, 35 35 win = { 36 - height = 12, 36 + height = 0.4, 37 37 hidestatusline = false, -- works best with laststatus=3 38 38 }, 39 39 }
+1 -1
lua/artio/view.lua
··· 148 148 local maxlistheight = 0 -- Max height of the matches list (`self.win.height - 1`) 149 149 150 150 function View:on_resized() 151 - if self.picker.win.height > 0 then 151 + if self.picker.win.height > 1 then 152 152 self.win.height = self.picker.win.height 153 153 else 154 154 self.win.height = vim.o.lines * self.picker.win.height