tangled
alpha
login
or
join now
robinwobin.dev
/
artio.nvim
3
fork
atom
minimal extui fuzzy finder for neovim
3
fork
atom
overview
issues
pulls
pipelines
fix(view): prevent decreasing offset when `idx == 0`
robinwobin.dev
4 months ago
bcb15ea8
8e30914a
+1
-1
1 changed file
expand all
collapse all
unified
split
lua
artio
view.lua
+1
-1
lua/artio/view.lua
···
315
315
if _offset > offset then
316
316
offset = _offset
317
317
elseif self.picker.idx <= offset then
318
318
-
offset = self.picker.idx - 1
318
318
+
offset = math.max(0, self.picker.idx - 1)
319
319
end
320
320
321
321
local lines = {} ---@type string[]