Picker Layouts #466
Replies: 3 comments 1 reply
-
For some reason, I faced a similar issue where the layouts I used from the official docs don't seem to work. It always fallbacks to default layout. My config: {
"folke/snacks.nvim",
opts = {
layout = {
backdrop = false,
row = 1,
width = 0.4,
min_width = 80,
height = 0.8,
border = "none",
box = "vertical",
{ win = "preview", height = 0.4, border = "rounded" },
{
box = "vertical",
border = "rounded",
title = "{source} {live}",
title_pos = "center",
{ win = "input", height = 1, border = "bottom" },
{ win = "list", border = "none" },
},
},
}
}, @folke - Is this possibly a bug and more suited for an issue rather than a discussion? Thanks! |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
I don't know if this is possible, but is there a way to turn off the line numbers in the preview window? |
Beta Was this translation helpful? Give feedback.
-
I am trying to configure the new Snacks Picker layout to use the
Telescope
option here, but I can't seem to get it to work properly. I have scoured the docs, but I still can't seem to get it to work. This is my current Snacks config:I have tried putting the configuration under the
picker
key, but that didn't work. I also had thereverse
key underopts
, but that caused an error. I am not sure what I am doing wrong. If someone has any idea what I am doing wrong, I would greatly appreciate it. Thanks.Beta Was this translation helpful? Give feedback.
All reactions