From 55ec41df6cfe53df4894db05e9af767af72dcb5c Mon Sep 17 00:00:00 2001 From: zeekling Date: Mon, 5 Aug 2024 00:53:17 +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 | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/lua/plugins/search-plugin.lua b/lua/plugins/search-plugin.lua index 19cc634..2ddaa2a 100644 --- a/lua/plugins/search-plugin.lua +++ b/lua/plugins/search-plugin.lua @@ -3,6 +3,10 @@ return { "nvim-telescope/telescope.nvim", tag = "0.1.8", dependencies = { + { + "nvim-telescope/telescope-live-grep-args.nvim", + version = "^1.0.0", + }, { "nvim-lua/plenary.nvim", { @@ -16,22 +20,15 @@ return { "nvim-tree/nvim-web-devicons", }, }, - }, - { - "nvim-telescope/telescope.nvim", - dependencies = { - { - "nvim-telescope/telescope-live-grep-args.nvim", - version = "^1.0.0", - }, - }, config = function() local telescope = require("telescope") telescope.setup({ defaults = { +-- layout_strategy = "bottom_pane", layout_strategy = "vertical", layout_config = { - vertical = { width = 0.8 }, + vertical = { width = 0.9999 }, + bottom_pane = { width = 0.99 }, }, pickers = { theme = "dropdown",