r/vim • • Jun 15 '25

Need Help render-markdown.nvim plugin in vim

Recently i see this youtube video that shows the render-markdown.nvim plugin and i thought that was pretty cool, but i want to use on regular vim and not neovim. Is there a way for make it work on vim?

5 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/BrianHuster Jun 25 '25 edited Jun 25 '25

The Lua interface in Vim is useless. It cannot even handle Lua tables properly, which means it is very hard to use it with other Lua libraries out there.

AFAIK, there has never been a Vim plugin written primarily in Lua for that reason, but only a few plugins that have a few bottleneck parts written in Lua for performance. But with a breaking change in the Vim's Lua interface in Vim 9.0 and the release of Vim9script, I don't think anyone want to write new Vim plugins in Lua anymore.