mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: update git branch icon
This commit is contained in:
parent
4164fe238b
commit
c2eaa2c6a1
2 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,7 @@ return {
|
|||
-- git branch info
|
||||
get_branch = function()
|
||||
if vim.b.gitsigns_head ~= nil then
|
||||
return icons.git.Branch2 .. " " .. getLeftSubstring(vim.b.gitsigns_head, 6)
|
||||
return icons.git.Branch3 .. " " .. getLeftSubstring(vim.b.gitsigns_head, 6)
|
||||
else
|
||||
return icons.git.NoBranch .. vim.fn.fnamemodify("", ":t")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue