Skip to content

Commit 27ca918

Browse files
authoredJan 17, 2023
fix(render): get profile_{sort,filter} key bindings from ViewConfig (#416)
1 parent 4f60fac commit 27ca918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lua/lazy/view/render.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -583,12 +583,12 @@ function M:profile()
583583
self:append("Profile", "LazyH2"):nl():nl()
584584
self
585585
:append("You can press ")
586-
:append("<C-s>", "LazySpecial")
586+
:append(ViewConfig.keys.profile_sort, "LazySpecial")
587587
:append(" to change sorting between chronological order & time taken.")
588588
:nl()
589589
self
590590
:append("Press ")
591-
:append("<C-f>", "LazySpecial")
591+
:append(ViewConfig.keys.profile_filter, "LazySpecial")
592592
:append(" to filter profiling entries that took more time than a given threshold")
593593
:nl()
594594

0 commit comments

Comments
 (0)
Please sign in to comment.