From bf9cc73626242734d5b177ea31a0860e24d66d44 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Thu, 30 Apr 2026 16:01:42 +0200 Subject: [PATCH] fix(nvim-tree): fix git head call --- plugins/nvim-tree.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nvim-tree.lua b/plugins/nvim-tree.lua index d7b2c64..d0b2e9e 100644 --- a/plugins/nvim-tree.lua +++ b/plugins/nvim-tree.lua @@ -111,7 +111,7 @@ require("nvim-tree").setup({ full_name = true, root_folder_label = function(path) local label = vim.fn.fnamemodify(path, ":~") - local git_head = require("git").head(path) + local git_head = require("git.repo").head(path) if git_head then label = label .. ("  %s"):format(git_head) end