From 00eae8dbb9faba01b78b861b72383270387f3a8c Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 27 Apr 2026 14:43:37 +0200 Subject: [PATCH] fix(git): fix luadoc function return --- lua/git/repo.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/git/repo.lua b/lua/git/repo.lua index a4bdc6b..20cfe29 100644 --- a/lua/git/repo.lua +++ b/lua/git/repo.lua @@ -86,7 +86,8 @@ end ---Resolve the gitdir/worktree from the current buffer's file path, falling ---back to `vim.fn.getcwd()` when the buffer is unnamed. Returns nil for ---both when not inside a git repo. ----@return string?, string? gitdir, worktree +---@return string? gitdir +---@return string? worktree local function resolve_cwd() local path = vim.api.nvim_buf_get_name(0) if path == "" then