From 175fcea33645636bdfcc8093a1947509f4fc9fc4 Mon Sep 17 00:00:00 2001 From: 0xrsydn Date: Tue, 6 Jan 2026 15:19:11 +0700 Subject: [PATCH] fix: mdx treesitter --- modules/home/programs/nvim/lua/plugins/treesitter.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/home/programs/nvim/lua/plugins/treesitter.lua b/modules/home/programs/nvim/lua/plugins/treesitter.lua index 6e90071..657bbd0 100644 --- a/modules/home/programs/nvim/lua/plugins/treesitter.lua +++ b/modules/home/programs/nvim/lua/plugins/treesitter.lua @@ -27,7 +27,6 @@ return { "luap", "markdown", "markdown_inline", - "mdx", "nix", "norg", "printf", @@ -49,4 +48,10 @@ return { }, }, }, + -- MDX syntax highlighting (uses markdown treesitter + TSX injections) + { + "davidmh/mdx.nvim", + config = true, + dependencies = { "nvim-treesitter/nvim-treesitter" }, + }, }