Vlad
Vlad
Thank you, I'm glad you're liking it :) That's a neat idea, I largely write markdown for my own commit messages and don't know why I didn't think to figure...
In case you want to set different configuration values for commit files I pushed a change to allow overrides based on filetype here: https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/952b1c077a5967f91228f57a6a4979f86386f3c4. So to disable headings in `gitcommit`...
Sweet, no problem :) I looked at your change and removing the heading isn't strictly necessary, though likely a good idea if you use the default `#` comment character. You...
I got a version of this that's almost perfect, however doesn't support the custom `core.commentChar`, so you'll need to remove that for this to work. Naturally that means headings won't...
Do you mean adding details about enabling the plugin for commit messages or support for the alternate markdown heading syntax?
Ah, gotcha. I'll look into it and see. Similarly I have no idea if a plugin can define injections programatically. Worst case I'll add some documentation, best case I can...
I've implemented a batteries included approach here: https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/5ff9a598622422100280769147ad5feff411c6da Takes care of setting injections using `vim.treesitter.query.set`, completely configurable on the user side with a default for `gitcommit`. Currently the only one,...
Added these as features here: https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/965c222076b2d289ed498730845d533780f3c7c7. Use `link.wiki.icon` & `link.wiki.highlight` to modify WikiLink behavior rather than a custom pattern. The default values are: ```lua require('render-markdown').setup({ link = { wiki =...
Sure, added here: https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/18c7ef71fb4b8d83cb0160adc9127fc4d65ca42e Set `code.language_name` to `false`: ```lua require('render-markdown').setup({ code = { language_name = false, }, }) ```
So there's 2 kinds of concealing happening. The one you're describing that works is via treesitter highlights, where `concealcursor` dictates the behavior. However these are rather limited and impossible to...