How to customize telescope width and height in snacks.nvim
#2109
Closed
harshv5094
started this conversation in
General
Replies: 1 comment 2 replies
-
Eww, Windows. opts = {
picker = {
layouts = {
-- https://github.com/folke/snacks.nvim/blob/bc0630e43be5699bb94dadc302c0d21615421d93/lua/snacks/picker/config/layouts.lua#L5-L20
default = { --[[Override]]
layout = {
box = "horizontal",
width = 0.8,
min_width = 120,
height = 0.8, -- Change
{
box = "vertical",
border = "rounded",
title = "{title} {live} {flags}",
{ win = "input", height = 1, border = "bottom" },
{ win = "list", border = "none" },
},
{ win = "preview", title = "{preview}", border = "rounded", width = 0.5 },
},
},
},
},
}, |
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm showing two images here,
1. My custom
telescope.nvim
2.
snacks.nvim
How can I make it same height? What settings I need to change
Beta Was this translation helpful? Give feedback.
All reactions