diff --git a/lua/openingh/init.lua b/lua/openingh/init.lua index 769d9bd..b719181 100644 --- a/lua/openingh/init.lua +++ b/lua/openingh/init.lua @@ -47,14 +47,9 @@ function M.openRepo() end local repo_page_url = M.repo_url - - -- check if not the default branch add it to the url local current_branch_name = utils.get_current_branch() - local default_branch_name = utils.get_defualt_branch() - if current_branch_name ~= default_branch_name then - repo_page_url = M.repo_url .. "/tree/" .. current_branch_name - end + repo_page_url = M.repo_url .. "/tree/" .. current_branch_name local result = utils.open_url(repo_page_url)