From 2ce23696de096733e32135b2f9698a9cca6fdcd4 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Tue, 29 Sep 2020 14:06:34 +0200 Subject: [PATCH] Fix if-clause after latest changes --- lua/telescope/actions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/actions.lua b/lua/telescope/actions.lua index d24c683..c61d5f3 100644 --- a/lua/telescope/actions.lua +++ b/lua/telescope/actions.lua @@ -94,7 +94,7 @@ local function goto_file_selection(prompt_bufnr, command) -- TODO: Sometimes we open something with missing line numbers and stuff... if entry_bufnr then - if command == "e" then + if command == "edit" then a.nvim_win_set_buf(original_win_id, entry_bufnr) else vim.cmd(string.format(":%s #%d", command, entry_bufnr))