Skip to content

Commit

Permalink
fix(dressing): use AstroUI for default prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Jun 11, 2024
1 parent 048c879 commit 2195fc5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lua/astronvim/plugins/dressing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ return {
"stevearc/dressing.nvim",
lazy = true,
init = function() require("astrocore").load_plugin_with_func("dressing.nvim", vim.ui, { "input", "select" }) end,
opts = {
input = { default_prompt = "" },
select = { backend = { "telescope", "builtin" } },
},
opts = function()
local get_icon = require("astroui").get_icon
return {
input = { default_prompt = get_icon("Selected", 1) },
}
end,
}

0 comments on commit 2195fc5

Please sign in to comment.