🎨 ux(nvim): now using dressing instead of telescope ui select
This commit is contained in:
parent
396cc02d68
commit
4b18be1e24
3 changed files with 8 additions and 15 deletions
|
@ -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)
|
||||||
|
|
|
@ -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" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue