How to disable line/realtive numbers from Snacks.picker.lines? #1986
bechampion
started this conversation in
General
Replies: 2 comments 3 replies
-
Also since we're at it , how can i make the lines window wider? |
Beta Was this translation helpful? Give feedback.
2 replies
-
opts = {
picker = {
sources = {
lines = {
-- `format` is used to display the list items
format = function(item)
local ret = {} ---@type snacks.picker.Highlight[]
table.insert(ret, { item.text })
for _, extmark in ipairs(item.highlights or {}) do
table.insert(ret, extmark)
end
return ret
end, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is supposed to be what the documentation is hinting but it's not doing it i get this:

Does anybody got this working?
Beta Was this translation helpful? Give feedback.
All reactions