We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85903aa commit c6a3d3fCopy full SHA for c6a3d3f
lua/diffview/scene/views/file_history/render.lua
@@ -23,7 +23,7 @@ local function render_files(comp, files)
23
comp:add_text(icon, icon_hl)
24
25
if #file.parent_path > 0 then
26
- comp:add_text(file.path .. "/", "DiffviewFilePanelPath")
+ comp:add_text(file.parent_path .. "/", "DiffviewFilePanelPath")
27
end
28
29
comp:add_text(file.basename, "DiffviewFilePanelFileName")
@@ -181,7 +181,7 @@ return {
181
comp:add_text(file.parent_path .. "/", "DiffviewFilePanelPath")
182
183
184
- comp:add_text(file.path, "DiffviewFilePanelFileName")
+ comp:add_text(file.basename, "DiffviewFilePanelFileName")
185
comp:ln()
186
187
elseif #cached.args > 0 then
0 commit comments