From 1992917c4af1b91fb928412b0e13416805663b22 Mon Sep 17 00:00:00 2001 From: 231814 Date: Thu, 10 Oct 2024 19:55:12 +0900 Subject: [PATCH] fix(builtin): open wrong filepath located at network drive --- lua/telescope/actions/set.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/actions/set.lua b/lua/telescope/actions/set.lua index b37c1e874a..84a3689b8d 100644 --- a/lua/telescope/actions/set.lua +++ b/lua/telescope/actions/set.lua @@ -138,7 +138,7 @@ action_set.edit = function(prompt_bufnr, command) local filename, row, col if entry.path or entry.filename then - filename = entry.path or entry.filename + filename = entry.filename or entry.path -- TODO: Check for off-by-one row = entry.row or entry.lnum