mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
Update telescope config in response to breaking changes in the latest telescope update (#572)
This commit is contained in:
parent
1334df246c
commit
1cd6e45837
1 changed files with 4 additions and 6 deletions
|
@ -11,7 +11,6 @@ require('telescope').setup {
|
||||||
'rg', '--no-heading', '--with-filename', '--line-number',
|
'rg', '--no-heading', '--with-filename', '--line-number',
|
||||||
'--column', '--smart-case'
|
'--column', '--smart-case'
|
||||||
},
|
},
|
||||||
prompt_position = "bottom",
|
|
||||||
prompt_prefix = " ",
|
prompt_prefix = " ",
|
||||||
selection_caret = " ",
|
selection_caret = " ",
|
||||||
entry_prefix = " ",
|
entry_prefix = " ",
|
||||||
|
@ -19,7 +18,10 @@ require('telescope').setup {
|
||||||
selection_strategy = "reset",
|
selection_strategy = "reset",
|
||||||
sorting_strategy = "descending",
|
sorting_strategy = "descending",
|
||||||
layout_strategy = "horizontal",
|
layout_strategy = "horizontal",
|
||||||
layout_defaults = {
|
layout_config = {
|
||||||
|
width = 0.75,
|
||||||
|
prompt_position = "bottom",
|
||||||
|
preview_cutoff = 120,
|
||||||
horizontal = {mirror = false},
|
horizontal = {mirror = false},
|
||||||
vertical = {mirror = false}
|
vertical = {mirror = false}
|
||||||
},
|
},
|
||||||
|
@ -28,10 +30,6 @@ require('telescope').setup {
|
||||||
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue