Add new components

This commit is contained in:
Olivier Roques
2020-12-22 18:50:04 +01:00
parent 778b6b1219
commit 355aacba17
7 changed files with 65 additions and 1 deletions

View File

@@ -15,7 +15,10 @@ function M.get_hunks()
end
function M.get_branch()
return ''
if not g.loaded_gitgutter then
return ''
end
return string.format(' %s', fn.FugitiveHead())
end
function M.get_component()