Skip to content

Commit e70a534

Browse files
authored
feat(treesitter): markdown modifications (#148)
add @markup.list.markdown and @markup.heading.6.markdown as well as color modifications to list items
1 parent 53d093f commit e70a534

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lua/astrotheme/groups/treesitter.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ local function callback(c, opts)
106106
["@markup.heading.3.markdown"] = { fg = c.syntax.cyan, bold = true },
107107
["@markup.heading.4.markdown"] = { fg = c.syntax.green, bold = true },
108108
["@markup.heading.5.markdown"] = { fg = c.syntax.yellow, bold = true },
109+
["@markup.heading.6.markdown"] = { fg = c.syntax.yellow, bold = true },
109110

110111
["@markup.quote"] = { fg = c.syntax.text, italic = true },
111112
["@markup.math"] = { fg = c.syntax.blue },
@@ -119,8 +120,9 @@ local function callback(c, opts)
119120
["@markup.raw.block"] = { fg = c.syntax.text },
120121

121122
["@markup.list"] = "Special",
122-
["@markup.list.unchecked"] = { fg = c.ui.purple },
123-
["@markup.list.checked"] = { fg = c.ui.green },
123+
["@markup.list.markdown"] = { fg = c.syntax.orange, bold = true },
124+
["@markup.list.unchecked"] = { fg = c.ui.blue, bold = true },
125+
["@markup.list.checked"] = { fg = c.ui.cyan, bold = true },
124126

125127
["@diff.plus"] = "DiffAdded",
126128
["@diff.minus"] = "DiffDelete",

0 commit comments

Comments
 (0)