Skip to content

Commit 9376997

Browse files
Add a packer.nvim config in the README
1 parent b6c4ac7 commit 9376997

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Plugin to improve viewing Markdown files in Neovim
2929

3030
# Install
3131

32-
## Lazy.nvim
32+
## lazy.nvim
3333

3434
```lua
3535
{
@@ -42,6 +42,19 @@ Plugin to improve viewing Markdown files in Neovim
4242
}
4343
```
4444

45+
## packer.nvim
46+
47+
```lua
48+
use({
49+
'MeanderingProgrammer/markdown.nvim',
50+
as = 'render-markdown', -- Only needed if you have another plugin named markdown.nvim
51+
after = { 'nvim-treesitter' },
52+
config = function()
53+
require('render-markdown').setup({})
54+
end,
55+
})
56+
```
57+
4558
# Setup
4659

4760
Below is the configuration that gets used by default, any part of it can be modified

doc/render-markdown.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*render-markdown.txt* For 0.9.5 Last change: 2024 May 03
1+
*render-markdown.txt* For 0.9.5 Last change: 2024 May 15
22

33
==============================================================================
44
Table of Contents *render-markdown-table-of-contents*
@@ -7,7 +7,8 @@ Table of Contents *render-markdown-table-of-contents*
77
2. Features |render-markdown-features|
88
3. Dependencies |render-markdown-dependencies|
99
4. Install |render-markdown-install|
10-
- Lazy.nvim |render-markdown-install-lazy.nvim|
10+
- lazy.nvim |render-markdown-install-lazy.nvim|
11+
- packer.nvim |render-markdown-install-packer.nvim|
1112
5. Setup |render-markdown-setup|
1213
6. Commands |render-markdown-commands|
1314
7. Purpose |render-markdown-purpose|
@@ -68,6 +69,20 @@ LAZY.NVIM *render-markdown-install-lazy.nvim*
6869
<
6970

7071

72+
PACKER.NVIM *render-markdown-install-packer.nvim*
73+
74+
>lua
75+
use({
76+
'MeanderingProgrammer/markdown.nvim',
77+
as = 'render-markdown', -- Only needed if you have another plugin named markdown.nvim
78+
after = { 'nvim-treesitter' },
79+
config = function()
80+
require('render-markdown').setup({})
81+
end,
82+
})
83+
<
84+
85+
7186
==============================================================================
7287
5. Setup *render-markdown-setup*
7388

tests/init_spec.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ async_tests.describe('init', function()
251251
{ { 'f(x,y) = x + √(y)', '@markup.math' } },
252252
{ { 'f(x,y) = √(y) + x^2/4y', '@markup.math' } },
253253
},
254-
255254
virt_lines_above = true,
256255
},
257256
}

0 commit comments

Comments
 (0)