nvim: telescope layout

This commit is contained in:
Daniel Lundin 2023-11-02 20:04:31 +01:00
parent 2f0cc73f68
commit fe48f382c2

View file

@ -3,4 +3,27 @@ return {
"folke/flash.nvim",
enabled = false,
},
{
"telescope.nvim",
opts = {
defaults = {
layout_strategy = "vertical",
layout_config = {
anchor = "top",
vertical = {
prompt_position = "top",
mirror = true,
-- preview_width = 0.5,
preview_height = 0.5,
},
width = 0.9,
height = 0.9,
preview_cutoff = 10,
},
-- sorting_strategy = "ascending",
winblend = 0,
wrap_results = true,
},
},
},
}