summaryrefslogtreecommitdiff
path: root/lua/telescope
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2020-09-29 14:06:34 +0200
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-29 22:41:11 -0400
commit2ce23696de096733e32135b2f9698a9cca6fdcd4 (patch)
treed9d4adef61db4121bc6da3543fa70135271926a7 /lua/telescope
parent3592b1f8b0ca207462bf945af52026e592afda30 (diff)
Fix if-clause after latest changes
Diffstat (limited to 'lua/telescope')
-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))