fix(render): get profile_{sort,filter} key bindings from ViewConfig

This commit is contained in:
Hans Chen 2023-01-17 21:52:20 +01:00
commit 96a6fce468

View file

@ -583,12 +583,12 @@ function M:profile()
self:append("Profile", "LazyH2"):nl():nl()
self
:append("You can press ")
:append("<C-s>", "LazySpecial")
:append(ViewConfig.keys.profile_sort, "LazySpecial")
:append(" to change sorting between chronological order & time taken.")
:nl()
self
:append("Press ")
:append("<C-f>", "LazySpecial")
:append(ViewConfig.keys.profile_filter, "LazySpecial")
:append(" to filter profiling entries that took more time than a given threshold")
:nl()