harrisoncramer / harrisoncramer/gitlab.nvim
Support for custom Gitlab URLs
- Dominant language
- Lua
- Stars
- 399
- Forks
- 62
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
My company uses a self-hosted gitlab using gitolite, I face the following error while running the plugin.
`gitlab.nvim: Failure initializing plugin: invalid git URL format: gitolite@gitlab.p.ghpr.asia:gt/core/algo-services-core.git ` which I found comes from https://github.com/harrisoncramer/gitlab.nvim/blob/e29909cd1064a7b53c3150bff49449a548dadf8d/cmd/app/git/git.go#L65
_version 3.4.0 tag v3.4.0 branch main commit e29909c_
```
(base) ➜ algo-services-core git:(release/ASVC-80/new_context) ✗ echo $GITLAB_URL
https://gitlab.p.ghpr.asia/
(base) ➜ algo-services-core git:(release/ASVC-80/new_context) ✗ git remote get-url origin
gitolite@gitlab.p.ghpr.asia:gt/core/algo-services-core.git
```
I don't any configuration can bypass this setting if I am reading the go code correctly, is there a solution for this ?
Contributor guide
Assessment
This issue has not been assessed yet.