diff --git a/lua/telescope-nvim.lua b/lua/telescope-nvim.lua index d74dacf..c18b19a 100644 --- a/lua/telescope-nvim.lua +++ b/lua/telescope-nvim.lua @@ -12,7 +12,6 @@ M.config = function() "--column", "--smart-case" }, - prompt_position = "top", prompt_prefix = "  ", selection_caret = " ", entry_prefix = " ", @@ -20,24 +19,24 @@ M.config = function() selection_strategy = "reset", sorting_strategy = "descending", layout_strategy = "horizontal", - layout_defaults = { + layout_config = { horizontal = { - mirror = false, - preview_width = 0.55 + prompt_position = "top", + preview_width = 0.55, + results_width = 0.8 }, vertical = { mirror = false - } + }, + width = 0.87, + height = 0.80, + preview_cutoff = 120 }, file_sorter = require "telescope.sorters".get_fuzzy_file, file_ignore_patterns = {}, generic_sorter = require "telescope.sorters".get_generic_fuzzy_sorter, shorten_path = true, winblend = 0, - width = 0.75, - preview_cutoff = 120, - results_height = 1, - results_width = 0.8, border = {}, borderchars = {"─", "│", "─", "│", "╭", "╮", "╯", "╰"}, color_devicons = true,