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