Skip to content

Commit

Permalink
Merge pull request #15
Browse files Browse the repository at this point in the history
fix: trailing `/` after gitlab project name
  • Loading branch information
ruifm authored May 18, 2021
2 parents 17894da + 7219b9d commit a89d865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitlinker/hosts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end

--- Constructs a gitlab style url
function M.get_gitlab_type_url(url_data)
local url = M.get_base_https_url(url_data) .. url_data.repo .. "-/blob/" ..
local url = M.get_base_https_url(url_data) .. url_data.repo .. "/-/blob/" ..
url_data.rev .. "/" .. url_data.file
if url_data.lstart then
url = url .. "#L" .. url_data.lstart
Expand Down

0 comments on commit a89d865

Please sign in to comment.