diff --git a/lua/astrocommunity/markdown-and-latex/markview-nvim/init.lua b/lua/astrocommunity/markdown-and-latex/markview-nvim/init.lua index 556351656..d411a74c7 100644 --- a/lua/astrocommunity/markdown-and-latex/markview-nvim/init.lua +++ b/lua/astrocommunity/markdown-and-latex/markview-nvim/init.lua @@ -1,6 +1,10 @@ return { "OXY2DEV/markview.nvim", - ft = { "markdown", "markdown.mdx" }, + ft = function() + local plugin = require("lazy.core.config").spec.plugins["render-markdown.nvim"] + local opts = require("lazy.core.plugin").values(plugin, "opts", false) + return opts.filetypes or { "markdown", "quarto", "rmd" } + end, dependencies = { "nvim-treesitter/nvim-treesitter", opts = function(_, opts)