Skip to content

Commit

Permalink
fix(markdown): add missing H6 highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Jul 19, 2024
1 parent bf0dfaa commit 7d658e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/cyberdream/extensions/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function M.get(opts, t)
markdownH3 = { fg = t.blue, bold = true },
markdownH4 = { fg = t.purple, bold = true },
markdownH5 = { fg = t.magenta, bold = true },
markdownH6 = { fg = t.green, bold = true },
markdownLinkText = { fg = t.blue, underline = true },

LspReferenceText = { bg = t.bgHighlight },
Expand Down
4 changes: 4 additions & 0 deletions lua/cyberdream/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@ M.defaults = {
default = true,
link = "markdownH5",
},
["@markup.heading.6"] = {
default = true,
link = "markdownH6",
},
["@text.underline"] = {
underline = true,
},
Expand Down

0 comments on commit 7d658e7

Please sign in to comment.