fix(nvim-tree): change git branch label
This commit is contained in:
@@ -146,7 +146,7 @@ return {
|
|||||||
local label = vim.fn.fnamemodify(path, ":~")
|
local label = vim.fn.fnamemodify(path, ":~")
|
||||||
local git_head = vim.fn.FugitiveHead()
|
local git_head = vim.fn.FugitiveHead()
|
||||||
if git_head ~= "" then
|
if git_head ~= "" then
|
||||||
label = label .. (" (%s)"):format(git_head)
|
label = label .. (" %s"):format(git_head)
|
||||||
end
|
end
|
||||||
return label
|
return label
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user