Skip to content

Commit c1ba9df

Browse files
committed
docs(readme): compressed installation instructions
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent c9995e2 commit c1ba9df

1 file changed

Lines changed: 22 additions & 14 deletions

File tree

README.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ https://github.com/user-attachments/assets/b3f7124a-736e-425c-9c08-f3e0504c238f
99
## Table of Contents
1010

1111
- [Installation](#installation)
12-
- [`vim-plug`](#vim-plug)
13-
- [`lazy.nvim`](#lazynvim)
14-
- [`pckr.nvim`](#pckrnvim)
15-
- [`nvim-plug`](#nvim-plug)
16-
- [`paq-nvim`](#paq-nvim)
17-
- [`vim.pack`](#vimpack)
18-
- [LuaRocks](#luarocks)
1912
- [Configuration](#configuration)
2013
- [Defaults](#defaults)
2114
- [Usage](#usage)
@@ -34,7 +27,8 @@ please raise a [**_BLANK ISSUE_**](https://github.com/DrKJeff16/boolean-toggle.n
3427

3528
Use any plugin manager of your choosing.
3629

37-
### `vim-plug`
30+
<details>
31+
<summary>vim-plug</summary>
3832

3933
```vim
4034
if has('nvim-0.11')
@@ -46,7 +40,9 @@ if has('nvim-0.11')
4640
endif
4741
```
4842

49-
### `lazy.nvim`
43+
</details>
44+
<details>
45+
<summary>lazy.nvim</summary>
5046

5147
```lua
5248
{
@@ -65,7 +61,9 @@ If you wish to lazy-load this plugin:
6561
}
6662
```
6763

68-
### `pckr.nvim`
64+
</details>
65+
<details>
66+
<summary>pckr.nvim</summary>
6967

7068
```lua
7169
require('pckr').add({
@@ -78,7 +76,9 @@ require('pckr').add({
7876
})
7977
```
8078

81-
### `nvim-plug`
79+
</details>
80+
<details>
81+
<summary>nvim-plug</summary>
8282

8383
```lua
8484
require('plug').add({
@@ -91,22 +91,28 @@ require('plug').add({
9191
})
9292
```
9393

94-
### `paq-nvim`
94+
</details>
95+
<details>
96+
<summary>paq-nvim</summary>
9597

9698
```lua
9799
local paq = require('paq')
98100
paq({ 'DrKJeff16/boolean-toggle.nvim' })
99101
```
100102

101-
### `vim.pack`
103+
</details>
104+
<details>
105+
<summary>vim.pack</summary>
102106

103107
```lua
104108
vim.pack.add({
105109
{ src = 'https://github.com/DrKJeff16/boolean-toggle.nvim', name = 'boolean-toggle.nvim' },
106110
})
107111
```
108112

109-
### LuaRocks
113+
</details>
114+
<details>
115+
<summary>LuaRocks</summary>
110116

111117
The package can be found [in the LuaRocks webpage](https://luarocks.org/modules/drkjeff16/boolean-toggle.nvim).
112118

@@ -115,6 +121,8 @@ luarocks install boolean-toggle.nvim # Global install
115121
luarocks install --local boolean-toggle.nvim # Local install
116122
```
117123

124+
</details>
125+
118126
---
119127

120128
## Configuration

0 commit comments

Comments
 (0)