diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2022-07-07 19:07:52 +0200 |
|---|---|---|
| committer | Simon Hauser <Simon-Hauser@outlook.de> | 2022-07-07 19:08:46 +0200 |
| commit | ddf60d2bbe5ff49de870b83ea7ecd1ff89a3d929 (patch) | |
| tree | 8acd9d23c6b37d5869ee67e80f2ce7c0e43c5d51 /lua | |
| parent | 9b3afe51c49a77b73d21af16dec322afa111e2cd (diff) | |
fix: grep_string search= jump to line
fix #2047
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/actions/set.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/actions/set.lua b/lua/telescope/actions/set.lua index 017975b..45d0a36 100644 --- a/lua/telescope/actions/set.lua +++ b/lua/telescope/actions/set.lua @@ -104,7 +104,7 @@ action_set.edit = function(prompt_bufnr, command) -- TODO: Check for off-by-one row = entry.row or entry.lnum - col = entry.col + col = vim.F.if_nil(entry.col, 1) elseif not entry.bufnr then -- TODO: Might want to remove this and force people -- to put stuff into `filename` |
