Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I host my plugin on GitLab? #1217

Closed
1 of 11 tasks
Invertisment opened this issue Oct 18, 2022 · 1 comment
Closed
1 of 11 tasks

How can I host my plugin on GitLab? #1217

Invertisment opened this issue Oct 18, 2022 · 1 comment

Comments

@Invertisment
Copy link

Invertisment commented Oct 18, 2022

I've searched for "gitlab" in this repository and there were no topics on that.
So I want to know how can I host my plugin on gitlab instead of github? Other source hosting systems are also fine.

  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question
  • OS:
    • All/Other
    • Linux
    • macOS
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • Neovim
@mschilli87
Copy link

The example in the README starts like this:

call plug#begin()
" The default plugin directory will be as follows:
"   - Vim (Linux/macOS): '~/.vim/plugged'
"   - Vim (Windows): '~/vimfiles/plugged'
"   - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged'
" You can specify a custom plugin directory by passing it as the argument
"   - e.g. `call plug#begin('~/.vim/plugged')`
"   - Avoid using standard Vim directory names like 'plugin'

" Make sure you use single quotes

" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'

" Any valid git URL is allowed
Plug 'https://github.com/junegunn/vim-github-dashboard.git'

So I see no reason why you shouldn't be able to replace github.com by gitlab.com or any other host for your *.git repo.

@junegunn junegunn closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants