From 8da2b3f1fe0164f6877be5f438323c5cd9ba0052 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 25 Dec 2022 10:49:34 +0100 Subject: [PATCH] feat(ui): make lazy icon configurable --- lua/lazy/core/config.lua | 1 + lua/lazy/view/render.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index 1cb90dc..e002a71 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -48,6 +48,7 @@ M.defaults = { source = " ", start = "", task = "✔ ", + lazy = "鈴 ", }, throttle = 20, -- how frequently should the ui process render events custom_keys = { diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 934a8c2..c7b5e8f 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -104,7 +104,7 @@ function M:title() local title = " " .. mode.name:sub(1, 1):upper() .. mode.name:sub(2) .. " (" .. mode.key .. ") " if mode.name == "home" then if self.view.state.mode == "home" then - title = " lazy.nvim 鈴 " + title = " lazy.nvim " .. Config.options.ui.icons.lazy else title = " lazy.nvim (H) " end