修改搜索

This commit is contained in:
LingZhaoHui 2024-08-05 00:53:17 +08:00
parent 982a582ce5
commit 55ec41df6c
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC

View File

@ -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",