git_icons: replace double ?? with a single ?

main
bhagwan 2 years ago
parent dd9db4cab9
commit b055007f56

@ -186,7 +186,7 @@ M.get_diff_files = function(opts)
local icon = status[i]:match("[MUDARC?]+") local icon = status[i]:match("[MUDARC?]+")
local file = status[i]:match("[^ ]*$") local file = status[i]:match("[^ ]*$")
if icon and file then if icon and file then
diff_files[file] = icon diff_files[file] = icon:gsub("%?%?", "?")
end end
end end
end end

Loading…
Cancel
Save