fix: respect path over filename

This commit is contained in:
TJ DeVries
2020-09-05 07:36:06 -04:00
parent c70d6e58a0
commit a0318bfc2a

View File

@@ -45,7 +45,8 @@ local function goto_file_selection(prompt_bufnr, command)
else else
local filename, row, col local filename, row, col
if entry.filename then if entry.filename then
filename = entry.filename filename = entry.path or entry.filename
-- TODO: Check for off-by-one -- TODO: Check for off-by-one
row = entry.row or entry.lnum row = entry.row or entry.lnum
col = entry.col col = entry.col