mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: no branch icon
This commit is contained in:
parent
ffbb97621d
commit
4164fe238b
2 changed files with 196 additions and 195 deletions
|
@ -58,6 +58,7 @@ return {
|
|||
Octoface = "",
|
||||
Branch = "",
|
||||
Branch2 = "",
|
||||
NoBranch = "",
|
||||
},
|
||||
ui = {
|
||||
ArrowCircleDown = "",
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue