-
Notifications
You must be signed in to change notification settings - Fork 51
It doesn't work with vimplug (sadly) #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Huh, that is interesting. I don't have any familiarity with vim plug, but hopefully we can get it working. Can you run the checkhealth command 'checkhealth render-markdown', see if that has any information. Also which version of Neovim are you running and on what OS? |
@MeanderingProgrammer This erros occurs |
Ah, damn, I thought I still had compatibility with I pushed a small change that should resolve the health check failing. Can you update the plugin and run it again, just as a sanity check. Maybe the reason this isn't working is I'm using some other API that's not compatible with |
Oh, sorry about that, didn't mean for you to need to update the version of neovim you use, but appreciate the thoroughness! Lets see if the logs can help. Can you enable debug logs by updating the plugin config to: require('render-markdown').setup({ log_level = 'debug' }) Then create a new markdown file with the following content, just so I can compare my output to yours:
Open the file, the plugin will try to render it, then close the file. Then copy the output of the log file which will most likely be located at |
Set the filetype to markdown with autocmd seems the best workaround. I continue with vimwiki working and the markdown plugin works too. The only issue is that the autocmd does not works every time |
Ah that makes sense, parsers are picked using the Instead of the
require('render-markdown').setup({
file_types = { 'markdown', 'vimwiki' },
})
vim.treesitter.language.register('markdown', 'vimwiki') |
It worked pretty well. Thanks Maybe it's good to put a Notice to vimwiki users on readme |
Thanks reaching out! |
I've installed the plugin with vimplug and made the setup
The setup seems to be successful, because the command is avaliable on neovim
But when I run this, nothing happens
P.s.:
I have markdown parser installed on treesitter

The text was updated successfully, but these errors were encountered: