add: no branch icon

This commit is contained in:
asep.komarudin 2024-05-29 20:48:09 +07:00
parent ffbb97621d
commit 4164fe238b
2 changed files with 196 additions and 195 deletions

View file

@ -237,7 +237,7 @@ return {
if vim.b.gitsigns_head ~= nil then
return icons.git.Branch2 .. " " .. getLeftSubstring(vim.b.gitsigns_head, 6)
else
return icons.git.Branch2 .. vim.fn.fnamemodify("", ":t")
return icons.git.NoBranch .. vim.fn.fnamemodify("", ":t")
end
end,