From 806fdc8e93b0019d572f97b94cb20011312b3b04 Mon Sep 17 00:00:00 2001 From: jensonjohnathon Date: Fri, 4 Apr 2025 08:21:02 +0200 Subject: [PATCH] Added mdx Support via custom plugin --- init.lua | 3 ++- lua/custom/plugins/init.lua | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9c48fd22..aa654b12 100644 --- a/init.lua +++ b/init.lua @@ -1016,7 +1016,8 @@ require('lazy').setup({ -- This is the easiest way to modularize your config. -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, + -- -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec` -- Or use telescope! diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..db658aad 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,13 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { + 'davidmh/mdx.nvim', + dependencies = { 'nvim-treesitter/nvim-treesitter' }, + lazy = false, + config = function() + require('mdx').setup() + end, + }, +}