-
Notifications
You must be signed in to change notification settings - Fork 303
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
just found another good-looking markdown plugin #175
Comments
Thank you for the recommendation, let me try out this plugin. |
I think this should already be supported, as Avante is a markdown filetype |
But I don't know how to config it to make it work with avante 😕 |
It can't be used with this plugin, author says the following |
What? we register treesitter of Avante to markdown. This is not correct avante.nvim/lua/avante/init.lua Line 165 in cd94125
|
I have just now tried in local and it does not work trying to use the plugin, even configured for avante file type in the plugin. OXY2DEV/markview.nvim#7 (comment) That or maybe I am missing something Here is a video of my trying it, and showing that if works for markdown but not for avante, and also the config I used. 2024-08-28.00-58-00.mp4 |
Hmm I think the culprit is this https://github.com/OXY2DEV/markview.nvim/blob/main/plugin/markview.lua {
"OXY2DEV/markview.nvim",
enabled = true,
lazy = false,
ft = { "markdown", "norg", "rmd", "org", "vimwiki", "Avante" },
opts = {
file_types = { "markdown", "norg", "rmd", "org", "vimwiki", "Avante" },
buf_ignore = {},
max_length = 99999,
},
}, Even I enable all all buffer it doesn't seem to register correctly |
I think you need to use "filetypes" as name for the option, not "file_types" https://github.com/OXY2DEV/markview.nvim/wiki/Configuration-options#-configuration-options I think that the problem is in this function, in the file you referenced: |
ye my bad, but this work {
"OXY2DEV/markview.nvim",
enabled = true,
lazy = false,
ft = { "markdown", "norg", "rmd", "org", "vimwiki", "Avante" },
opts = {
filetypes = { "markdown", "norg", "rmd", "org", "vimwiki", "Avante" },
buf_ignore = {},
max_length = 99999,
},
}, |
For future reference, all markdown renderer plugins should be supported by Avante by default, as Avante filetype is a markdown alias. |
https://github.com/OXY2DEV/markview.nvim
The text was updated successfully, but these errors were encountered: