return { "nvim-telescope/telescope.nvim", branch = "0.1.x", dependencies = { "nvim-lua/plenary.nvim", { "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, "nvim-tree/nvim-web-devicons", "folke/todo-comments.nvim", }, lazy = true, config = function() local telescope = require("telescope") local actions = require("telescope.actions") require("telescope").load_extension("flutter") telescope.setup({ defaults = { layout_strategy = "flex", layout_config = { height = 0.72, width = 0.65, prompt_position = "bottom", horizontal = {preview_width=0.65}, vertical = {preview_height=0.65}, }, path_display = { "smart" }, mappings = { i = { [""] = actions.move_selection_previous, -- move to prev result [""] = actions.move_selection_next, -- move to next result [""] = actions.send_selected_to_qflist + actions.open_qflist, }, }, }, }) telescope.load_extension("fzf") end, }