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(picker): sort matches by score
robinwobin.dev
3 months ago
f75d3367
2b58e053
+3
1 changed file
expand all
collapse all
unified
split
lua
artio
picker.lua
+3
lua/artio/picker.lua
···
142
142
143
143
function Picker:getmatches(input)
144
144
self.matches = self.fn(self.items, input)
145
145
+
table.sort(self.matches, function(a, b)
146
146
+
return a[3] > b[3]
147
147
+
end)
145
148
end
146
149
147
150
return Picker