summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/telescope/actions.lua2
1 files changed, 1 insertions, 1 deletions
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))