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 = {
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",
opts = {
defaults = {
layout_strategy = "center",
layout_strategy = "bottom_pane",
layout_config = {
prompt_position = "top",
preview_cutoff = 5, -- Preview should always show (unless previewer = false)
@ -117,9 +130,9 @@ return {
sorting_strategy = "ascending",
border = true,
borderchars = {
prompt = { "", "", " ", "", "", "", "", "" },
results = { "", "", "", "", "", "", "", "" },
preview = { "", "", "", "", "", "", "", "" },
prompt = { "", "", "", "", "", "", "", "" },
results = { "", "", "", "", "", "", "", "" },
preview = { "", "", "", "", "", "", "", "" },
},
},
},