chore: cleanup file lnum col

This commit is contained in:
Simon Hauser
2023-11-23 19:22:03 +01:00
parent 0dfe9e1edf
commit 64fc6c58f9
4 changed files with 34 additions and 30 deletions
+6
View File
@@ -208,6 +208,12 @@ action_set.edit = function(prompt_bufnr, command)
end)
end
local prompt_location = picker:get_local_key "prompt_location"
if prompt_location then
row = prompt_location.row or 0
col = prompt_location.col or 0
end
local pos = vim.api.nvim_win_get_cursor(0)
if col == nil then
if row == pos[1] then