mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
add: master icon
This commit is contained in:
parent
e328116fbd
commit
3afde9ce70
7 changed files with 29 additions and 15 deletions
|
@ -131,9 +131,9 @@ return {
|
|||
|
||||
local get_branch = function()
|
||||
if vim.b.gitsigns_head ~= nil then
|
||||
return " " .. vim.b.gitsigns_head
|
||||
return icons.git.Branch2 .. " " .. vim.b.gitsigns_head
|
||||
else
|
||||
return "" .. vim.fn.fnamemodify("", ":t")
|
||||
return icons.git.Branch2 .. vim.fn.fnamemodify("", ":t")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue