From 151a84c1b3f9190e0d36d23c542cde1b71cb6325 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 21 Oct 2024 14:55:05 +0100 Subject: [PATCH] Add some debugging --- lua/openingh/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/openingh/init.lua b/lua/openingh/init.lua index 5d32feb..563fb76 100644 --- a/lua/openingh/init.lua +++ b/lua/openingh/init.lua @@ -71,6 +71,9 @@ function M.get_file_url( if string.find(M.repo_url, "bitbucket") then file_page_url = string.format(bb_remote_format, M.repo_url, rev, file_path) elseif string.find(M.repo_url, "forgejo") or string.find(M.repo_url, "gitea") then + utils.notify(file_path) + utils.notify(M.repo_url) + utils.notify(rev) file_page_url = string.format(forgejo_remote_format, M.repo_url, rev, file_path) else file_page_url = string.format(remote_format, M.repo_url, rev, file_path)