Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores

r/neovim

members
online



My favorite change to markdown.nvim My favorite change to markdown.nvim
Random

I've been having fun working on markdown.nvim for the past little while and have finally made the change I always wanted to but didn't think I would get the chance to. Anti-concealing, hiding virtual text added by the plugin on the cursor line, has been merged, and I'm just really happy and surprised that it works, mostly. So far it's made editing files much nicer in my own experience compared to before, though I'm sure it has introduced a whole set of new bugs as well.

I thought without a builtin feature to support this, listening to every CursorMoved event would slow the whole thing down too much. But it turns out with some naive caching, even though it most definitely has a performance hit, it works pretty well. A lesson I've learned too many times, validate your assumptions haha.

Thanks to all the core developers and this community for creating such an awesome platform to build / hack on.

I'm excited to see what the response is and what other features this will lead to.

RenderedAnti Conceal CalloutAnti Conceal Language