Skip to content

Commit

Permalink
fix(render): get profile_{sort,filter} key bindings from ViewConfig (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hanschen committed Jan 17, 2023
1 parent 4f60fac commit 27ca918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/lazy/view/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 27ca918

Please sign in to comment.