I installed markdown.nvim like this and write this lua code on my lua/plugins/markdown.lua file.
require(“render-markdown”).setup({})
and I’m facing error from :checkhealth rocks-config when I restart neovim:
rocks-config: require("rocks-config.health").check()
Checking for errors while loading configs ~
- ERROR Error while loading config 'markdown.lua' for 'markdown.nvim'.
- ADVICE:
- Error was: /home/ubuntu/.config/nvim_rocks/lua/plugins/markdown.lua:1: module 'render-markdown' not found:No LuaRocks module found for render-markdown
no field package.preload['render-markdown']
no file './render-markdown.lua'
no file '/home/ubuntu/repo/neovim/.deps/usr/share/luajit-2.1/render-markdown.lua'
no file '/usr/local/share/lua/5.1/render-markdown.lua'
no file '/usr/local/share/lua/5.1/render-markdown/init.lua'
no file '/home/ubuntu/repo/neovim/.deps/usr/share/lua/5.1/render-markdown.lua'
no file '/home/ubuntu/repo/neovim/.deps/usr/share/lua/5.1/render-markdown/init.lua'
no file '/home/ubuntu/.local/share/nvim_rocks/rocks/share/lua/5.1/render-markdown.lua'
no file '/home/ubuntu/.local/share/nvim_rocks/rocks/share/lua/5.1/render-markdown/init.lua'
no file '/home/ubuntu/.local/share/nvim_rocks/rocks/share/lua/5.1/init.lua'
no file './render-markdown.so'
no file '/usr/local/lib/lua/5.1/render-markdown.so'
no file '/home/ubuntu/repo/neovim/.deps/usr/lib/lua/5.1/render-markdown.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/ubuntu/.local/share/nvim_rocks/rocks/lib/lua/5.1/render-markdown.so'
no file '/home/ubuntu/.local/share/nvim_rocks/rocks/lib64/lua/5.1/render-markdown.so'
Checking for duplicate configuration files ~
- OK No duplicate configurations found.
I don’t get this error when
I manually run require(“render-markdown”) after restarting neovim
I’m not sure if this is issue of
rocks-dev.nvim
orrocks-config.nvim
.I installed markdown.nvim like this and write this lua code on my
lua/plugins/markdown.lua
file.and I’m facing error from
:checkhealth rocks-config
when I restart neovim:I don’t get this error when
require(“render-markdown”)
after restarting neovimrocks-git.nvim
lua/plugins/markdown.lua
file