mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-11 09:52:31 +00:00
feat(config,render): allow customizing the debug icon
This commit is contained in:
parent
7e6c863bc7
commit
6d21ef055a
2 changed files with 2 additions and 1 deletions
|
@ -96,6 +96,7 @@ M.defaults = {
|
||||||
icons = {
|
icons = {
|
||||||
cmd = " ",
|
cmd = " ",
|
||||||
config = "",
|
config = "",
|
||||||
|
debug = "●",
|
||||||
event = " ",
|
event = " ",
|
||||||
favorite = " ",
|
favorite = " ",
|
||||||
ft = " ",
|
ft = " ",
|
||||||
|
|
|
@ -759,7 +759,7 @@ function M:debug()
|
||||||
---@type string[]
|
---@type string[]
|
||||||
plugins = vim.tbl_values(plugins)
|
plugins = vim.tbl_values(plugins)
|
||||||
table.sort(plugins)
|
table.sort(plugins)
|
||||||
self:append("● ", "LazySpecial", { indent = 2 })
|
self:append(Config.options.ui.icons.debug, "LazySpecial", { indent = 2 })
|
||||||
if handler_type == "keys" then
|
if handler_type == "keys" then
|
||||||
for k, v in pairs(Config.plugins[plugins[1]]._.handlers.keys) do
|
for k, v in pairs(Config.plugins[plugins[1]]._.handlers.keys) do
|
||||||
if k == value then
|
if k == value then
|
||||||
|
|
Loading…
Add table
Reference in a new issue