Skip to content

Commit

Permalink
feat(treesitter): markdown modifications (#148)
Browse files Browse the repository at this point in the history
add @markup.list.markdown and @markup.heading.6.markdown as well as color modifications to list items
  • Loading branch information
A-Lamia authored Oct 10, 2024
1 parent 53d093f commit e70a534
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/astrotheme/groups/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand All @@ -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",
Expand Down

0 comments on commit e70a534

Please sign in to comment.