From ff8f3783fa5dabdb086c5731c46d1a4cf79917af Mon Sep 17 00:00:00 2001 From: "Dr. David A. Kunz" Date: Wed, 28 Dec 2022 17:38:08 +0100 Subject: [PATCH] feat(profile): nicer threshold prompt (#210) --- lua/lazy/view/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/view/init.lua b/lua/lazy/view/init.lua index e058674..46a0235 100644 --- a/lua/lazy/view/init.lua +++ b/lua/lazy/view/init.lua @@ -85,7 +85,7 @@ function M.create() self:on_key(ViewConfig.keys.profile_filter, function() if self.state.mode == "profile" then vim.ui.input({ - prompt = "Enter time threshold in ms, like 0.5", + prompt = "Enter time threshold in ms: ", default = tostring(self.state.profile.threshold), }, function(input) if not input then