From 27ca918bc3d02ea20b3fd901c8919e9925555444 Mon Sep 17 00:00:00 2001 From: Hans Chen Date: Tue, 17 Jan 2023 22:03:23 +0100 Subject: [PATCH] fix(render): get profile_{sort,filter} key bindings from ViewConfig (#416) --- lua/lazy/view/render.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 1c0bd3c..d0cf458 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -583,12 +583,12 @@ function M:profile() self:append("Profile", "LazyH2"):nl():nl() self :append("You can press ") - :append("", "LazySpecial") + :append(ViewConfig.keys.profile_sort, "LazySpecial") :append(" to change sorting between chronological order & time taken.") :nl() self :append("Press ") - :append("", "LazySpecial") + :append(ViewConfig.keys.profile_filter, "LazySpecial") :append(" to filter profiling entries that took more time than a given threshold") :nl()