diff --git a/lua/lazy/view/init.lua b/lua/lazy/view/init.lua index efdb75e..b661d5a 100644 --- a/lua/lazy/view/init.lua +++ b/lua/lazy/view/init.lua @@ -77,7 +77,7 @@ function M.create() vim.keymap.set("n", ViewConfig.keys.abort, function() require("lazy.manage.process").abort() - return "" + return ViewConfig.keys.abort end, { silent = true, buffer = self.buf, expr = true }) -- plugin details diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 56ac095..6cf424c 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -160,7 +160,7 @@ end function M:help() self:append("Help", "LazyH2"):nl():nl() - self:append("Use "):append("", "LazySpecial"):append(" to abort all running tasks."):nl():nl() + self:append("Use "):append(ViewConfig.keys.abort, "LazySpecial"):append(" to abort all running tasks."):nl():nl() self:append("You can press "):append("", "LazySpecial"):append(" on a plugin to show its details."):nl():nl()