🎨 ux(nvim): now using dressing instead of telescope ui select

This commit is contained in:
Sergio Laín 2023-12-14 00:11:20 +01:00
parent 396cc02d68
commit 4b18be1e24
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 8 additions and 15 deletions

View file

@ -11,8 +11,8 @@ return {
sorting_strategy = "ascending", sorting_strategy = "ascending",
layout_strategy = "vertical", layout_strategy = "vertical",
layout_config = { layout_config = {
width = 0.8, width = 0.6,
height = 0.9, height = 0.7,
prompt_position = "top", prompt_position = "top",
preview_cutoff = 20, preview_cutoff = 20,
preview_height = function(_, _, max_lines) preview_height = function(_, _, max_lines)

View file

@ -2,12 +2,13 @@ return {
"ziontee113/icon-picker.nvim", "ziontee113/icon-picker.nvim",
dependencies = { dependencies = {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
"stevearc/dressing.nvim",
}, },
opts = { opts = {
disable_legacy_commands = true, disable_legacy_commands = true,
}, },
-- stylua: ignore -- stylua: ignore
keys = { keys = {
{ "<leader>sI", "<cmd>IconPickerNormal<cr>", desc = "Icons" }, { "<leader>si", "<cmd>IconPickerNormal<cr>", desc = "Icons" },
}, },
} }

View file

@ -15,18 +15,6 @@ return {
end) end)
end, end,
}, },
{
"nvim-telescope/telescope-ui-select.nvim",
dependencies = {
"stevearc/dressing.nvim",
enabled = false,
},
config = function()
Util.on_load("telescope.nvim", function()
require("telescope").load_extension("ui-select")
end)
end,
},
}, },
-- stylua: ignore -- stylua: ignore
keys = { keys = {
@ -104,6 +92,10 @@ return {
}, },
}, },
}, },
{
"stevearc/dressing.nvim",
opts = {},
},
{ {
"folke/which-key.nvim", "folke/which-key.nvim",
opts = { opts = {