From 0495077195a634541193b62441ae9b78095d309c Mon Sep 17 00:00:00 2001 From: A-Lamia Date: Thu, 10 Oct 2024 23:24:45 +1100 Subject: [PATCH] feat(treesitter): markdown modifications add @markup.list.markdown and @markup.heading.6.markdown as well as color modifications to list items --- lua/astrotheme/groups/treesitter.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/astrotheme/groups/treesitter.lua b/lua/astrotheme/groups/treesitter.lua index 6525af6..0b043e0 100644 --- a/lua/astrotheme/groups/treesitter.lua +++ b/lua/astrotheme/groups/treesitter.lua @@ -106,6 +106,7 @@ local function callback(c, opts) ["@markup.heading.3.markdown"] = { fg = c.syntax.cyan, bold = true }, ["@markup.heading.4.markdown"] = { fg = c.syntax.green, bold = true }, ["@markup.heading.5.markdown"] = { fg = c.syntax.yellow, bold = true }, + ["@markup.heading.6.markdown"] = { fg = c.syntax.yellow, bold = true }, ["@markup.quote"] = { fg = c.syntax.text, italic = true }, ["@markup.math"] = { fg = c.syntax.blue }, @@ -119,8 +120,9 @@ local function callback(c, opts) ["@markup.raw.block"] = { fg = c.syntax.text }, ["@markup.list"] = "Special", - ["@markup.list.unchecked"] = { fg = c.ui.purple }, - ["@markup.list.checked"] = { fg = c.ui.green }, + ["@markup.list.markdown"] = { fg = c.syntax.orange, bold = true }, + ["@markup.list.unchecked"] = { fg = c.ui.blue, bold = true }, + ["@markup.list.checked"] = { fg = c.ui.cyan, bold = true }, ["@diff.plus"] = "DiffAdded", ["@diff.minus"] = "DiffDelete",