From b29cc3a7d03308e0c2158183dd7b1edcf5bd2547 Mon Sep 17 00:00:00 2001 From: zeekling Date: Mon, 5 Aug 2024 02:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/plugins/search-plugin.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lua/plugins/search-plugin.lua b/lua/plugins/search-plugin.lua index 2ddaa2a..7d8f040 100644 --- a/lua/plugins/search-plugin.lua +++ b/lua/plugins/search-plugin.lua @@ -24,11 +24,16 @@ return { local telescope = require("telescope") telescope.setup({ defaults = { --- layout_strategy = "bottom_pane", + -- layout_strategy = "bottom_pane", layout_strategy = "vertical", layout_config = { - vertical = { width = 0.9999 }, - bottom_pane = { width = 0.99 }, + vertical = { width = 0.85 }, + bottom_pane = { width = 0.85 }, + }, + path_display = { + truncate = 3, + --smart = 3 + --shorten = { len = 3}, }, pickers = { theme = "dropdown",