fix(markdown): added support for mdx files

This commit is contained in:
Folke Lemaitre
2024-06-23 08:56:15 +02:00
parent 002ce62413
commit abec8fbb03

View File

@ -1,7 +1,10 @@
vim.filetype.add({
extension = { mdx = "markdown.mdx" },
})
return {
recommended = function()
return LazyVim.extras.wants({
ft = "markdown",
ft = { "markdown", "markdown.mdx" },
root = "README.md",
})
end,