Skip to content

Commit c48bb11

Browse files
committed
readme: update installation section with lazy.nvim
1 parent 76c8252 commit c48bb11

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

README.md

+22-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,20 @@ To get started, [install](#installation) the plugin using your preferred package
2525

2626
## Installation
2727

28-
### [packer](https://github.com/wbthomason/packer.nvim)
28+
<details open>
29+
<summary><b>lazy.nvim</summary>
30+
31+
```lua
32+
{
33+
"cbochs/grapple.nvim",
34+
dependencies = { "nvim-lua/plenary.nvim" },
35+
}
36+
```
37+
38+
</details>
39+
40+
<details>
41+
<summary><b>packer</summary>
2942

3043
```lua
3144
use {
@@ -34,13 +47,18 @@ use {
3447
}
3548
```
3649

37-
### [vim-plug](https://github.com/junegunn/vim-plug)
50+
</details>
51+
52+
<details>
53+
<summary><b>vim-plug</summary>
3854

3955
```vim
4056
Plug "nvim-lua/plenary.nvim"
4157
Plug "cbochs/grapple.nvim"
4258
```
4359

60+
</details>
61+
4462
## Default Settings
4563

4664
The following are the default settings for Grapple. **Setup is not required**, but settings may be overridden by passing them as table arguments to the `grapple#setup` function.
@@ -132,7 +150,7 @@ require("grapple").setup({
132150

133151
### Usage
134152

135-
<details>
153+
<details open>
136154
<summary>Grapple API</summary>
137155

138156
#### `grapple#tag`
@@ -378,7 +396,7 @@ require("grapple").quickfix("global")
378396

379397
</details>
380398

381-
<details>
399+
<details open>
382400
<summary>Scope API</summary>
383401

384402
#### `grapple.scope#resolver`

0 commit comments

Comments
 (0)