From 4eedf1599e7adfde8e6777a8e1a0773fdbca0e92 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Wed, 30 Mar 2022 20:42:46 +0530 Subject: fix: add `%s` to notify message of git checkout action (#1812) --- lua/telescope/actions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua index e0b9f79..4ae54e3 100644 --- a/lua/telescope/actions/init.lua +++ b/lua/telescope/actions/init.lua @@ -478,7 +478,7 @@ actions.git_checkout = function(prompt_bufnr) local _, ret, stderr = utils.get_os_command_output({ "git", "checkout", selection.value }, cwd) if ret == 0 then utils.notify("actions.git_checkout", { - msg = string.format("Checked out: ", selection.value), + msg = string.format("Checked out: %s", selection.value), level = "INFO", }) else -- cgit v1.2.3