mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
fix(render): show commit only if it can be shown
This commit is contained in:
parent
a1d1567ad9
commit
6bac522711
1 changed files with 0 additions and 2 deletions
|
@ -501,8 +501,6 @@ function M:details(plugin)
|
|||
end
|
||||
if git.commit then
|
||||
table.insert(props, { "commit", git.commit:sub(1, 7), "LazyCommit" })
|
||||
else
|
||||
table.insert(props, { "commit", "No commits yet" })
|
||||
end
|
||||
end
|
||||
if Util.file_exists(plugin.dir .. "/README.md") then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue