feat(nvim): avoid popups

This commit is contained in:
mrflos 2024-08-12 17:15:52 +03:00
parent 35ad28c03a
commit 86b388f501

View file

@ -83,7 +83,7 @@ return {
}, },
}, },
window = { window = {
position = "float", position = "current",
}, },
}, },
}, },
@ -99,11 +99,24 @@ return {
}, },
}, },
}, },
{
"folke/noice.nvim",
event = "VeryLazy",
opts = {
cmdline = {
view = "cmdline",
},
presets = {
bottom_search = true,
command_palette = false,
},
},
},
{ {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
opts = { opts = {
defaults = { defaults = {
layout_strategy = "center", layout_strategy = "bottom_pane",
layout_config = { layout_config = {
prompt_position = "top", prompt_position = "top",
preview_cutoff = 5, -- Preview should always show (unless previewer = false) preview_cutoff = 5, -- Preview should always show (unless previewer = false)
@ -117,9 +130,9 @@ return {
sorting_strategy = "ascending", sorting_strategy = "ascending",
border = true, border = true,
borderchars = { borderchars = {
prompt = { "", "", " ", "", "", "", "", "" }, prompt = { "", "", "", "", "", "", "", "" },
results = { "", "", "", "", "", "", "", "" }, results = { "", "", "", "", "", "", "", "" },
preview = { "", "", "", "", "", "", "", "" }, preview = { "", "", "", "", "", "", "", "" },
}, },
}, },
}, },