Skip to content

Commit 24fb43f

Browse files
chore: add vim.notify to plugin informing LuaRocks users to change package name
1 parent 35f8bd2 commit 24fb43f

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/workflows/luarocks.yml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
env:
3636
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
3737
with:
38+
name: markdown.nvim
3839
version: ${{ env.LUAROCKS_VERSION }}
3940
dependencies: |
4041
tree-sitter-markdown

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ medium.md
55
large.md
66
test.md
77
test.log
8+
/temp/

plugin/render-markdown.lua

+11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ if vim.g.loaded_render_markdown then
33
end
44
vim.g.loaded_render_markdown = true
55

6+
vim.notify(
7+
[[
8+
The markdown.nvim package has been renamed and receives no updates under the old name
9+
Migrate to the new LuaRock render-markdown.nvim: https://luarocks.org/modules/MeanderingProgrammer/render-markdown.nvim
10+
If you use rocks.nvim this can be done by running the following two commands:
11+
:Rocks prune markdown.nvim
12+
:Rocks install render-markdown.nvim
13+
]],
14+
vim.log.levels.WARN
15+
)
16+
617
require('render-markdown').setup({})
718
require('render-markdown.colors').setup()
819
require('render-markdown.manager').setup()

0 commit comments

Comments
 (0)