Merge pull request #116 from ashincoder/main

Updated telescope config #115
This commit is contained in:
siduck76 2021-07-01 21:39:20 +05:30 committed by GitHub
commit 76cdd5a29b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,6 @@ M.config = function()
"--column", "--column",
"--smart-case" "--smart-case"
}, },
prompt_position = "top",
prompt_prefix = "", prompt_prefix = "",
selection_caret = " ", selection_caret = " ",
entry_prefix = " ", entry_prefix = " ",
@ -20,24 +19,24 @@ M.config = function()
selection_strategy = "reset", selection_strategy = "reset",
sorting_strategy = "descending", sorting_strategy = "descending",
layout_strategy = "horizontal", layout_strategy = "horizontal",
layout_defaults = { layout_config = {
horizontal = { horizontal = {
mirror = false, prompt_position = "top",
preview_width = 0.55 preview_width = 0.55,
results_width = 0.8
}, },
vertical = { vertical = {
mirror = false mirror = false
} },
width = 0.87,
height = 0.80,
preview_cutoff = 120
}, },
file_sorter = require "telescope.sorters".get_fuzzy_file, file_sorter = require "telescope.sorters".get_fuzzy_file,
file_ignore_patterns = {}, file_ignore_patterns = {},
generic_sorter = require "telescope.sorters".get_generic_fuzzy_sorter, generic_sorter = require "telescope.sorters".get_generic_fuzzy_sorter,
shorten_path = true, shorten_path = true,
winblend = 0, winblend = 0,
width = 0.75,
preview_cutoff = 120,
results_height = 1,
results_width = 0.8,
border = {}, border = {},
borderchars = {"", "", "", "", "", "", "", ""}, borderchars = {"", "", "", "", "", "", "", ""},
color_devicons = true, color_devicons = true,