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

feat: add open_cmd options #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: remove plenary
  • Loading branch information
younger-1 committed Oct 15, 2022
commit 116d78b42938ef0a8961483e261775786071ef89
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,26 @@ that already exist in gitlinker! See [callbacks](#callbacks)

## Installation

Install it like any other vim plugin, just make sure
[plenary.nvim](https://github.com/nvim-lua/plenary.nvim) is also installed.
Install it like any other vim plugin.

- [packer.nvim](https://github.com/wbthomason/packer.nvim)

``` lua
use {
'ruifm/gitlinker.nvim',
requires = 'nvim-lua/plenary.nvim',
}
```

- [vim-plug](https://github.com/junegunn/vim-plug)

``` vim
Plug 'nvim-lua/plenary.nvim'
Plug 'ruifm/gitlinker.nvim'
```

### Requirements

- git
- neovim 0.5
- [plenary.nvim](https://github.com/nvim-lua/plenary.nvim)
- neovim 0.8

## Usage

Expand Down
5 changes: 1 addition & 4 deletions doc/gitlinker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,19 @@ Supported git web hosts *gitlinker-supported*
==============================================================================
Installation *gitlinker-installation*

Install it like any other vim plugin, just make sure plenary.nvim is also
installed.
Install it like any other vim plugin.

* packer.nvim

>
use {
'ruifm/gitlinker.nvim',
requires = 'nvim-lua/plenary.nvim',
}
<

* vim-plug

>
Plug 'nvim-lua/plenary.nvim'
Plug 'ruifm/gitlinker.nvim'
<

Expand Down
1 change: 0 additions & 1 deletion test/minimal_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ require("packer").startup(
use 'wbthomason/packer.nvim'
use {
'ruifm/gitlinker.nvim',
requires = 'nvim-lua/plenary.nvim',
}
end,
config = {package_root = '/tmp/nvim/site/pack'}
Expand Down