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

This commit is contained in:
Hans Chen 2023-01-17 22:03:23 +01:00 committed by GitHub
parent 4f60facf18
commit 27ca918bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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