diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2020-09-29 14:06:34 +0200 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-29 22:41:11 -0400 |
| commit | 2ce23696de096733e32135b2f9698a9cca6fdcd4 (patch) | |
| tree | d9d4adef61db4121bc6da3543fa70135271926a7 /lua | |
| parent | 3592b1f8b0ca207462bf945af52026e592afda30 (diff) | |
Fix if-clause after latest changes
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/actions.lua | 2 |
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)) |
