From bbd1aaf9a3b4bf1ec6db02b39440f3f34aa83e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?deniz=20g=C3=B6k=C3=A7in?= <33603535+dgokcin@users.noreply.github.com> Date: Fri, 19 Jan 2024 10:27:19 +0100 Subject: [PATCH] fix(telescope-undo): fix preview height --- nvim/lua/plugins/telesope-undo.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nvim/lua/plugins/telesope-undo.lua b/nvim/lua/plugins/telesope-undo.lua index 14dae514..7eec01b9 100644 --- a/nvim/lua/plugins/telesope-undo.lua +++ b/nvim/lua/plugins/telesope-undo.lua @@ -17,7 +17,11 @@ return { -- don't use `defaults = { }` here, do this in the main telescope spec extensions = { undo = { - -- telescope-undo.nvim config, see below + side_by_side = true, + layout_strategy = "vertical", + layout_config = { + preview_height = 0.8, + }, }, -- no other extensions here, they can have their own spec too },