diff --git a/lua/fzf-lua/path.lua b/lua/fzf-lua/path.lua index aa5943b..76f30cd 100644 --- a/lua/fzf-lua/path.lua +++ b/lua/fzf-lua/path.lua @@ -153,7 +153,7 @@ end function M.entry_to_location(entry) local uri, line, col = entry:match("^(.*://.*):(%d+):(%d+):") line = line and tonumber(line-1) or 0 - col = col and tonumber(col) or 1 + col = col and tonumber(col-1) or 0 return { stripped = entry, line = line+1,