Skip to content

Commit

Permalink
feat: update markup highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Jan 22, 2024
1 parent 2e0d954 commit 66f74f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lua/onedarkpro/highlights/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ function M.groups(theme)
["@markup.strikethrough"] = { strikethrough = true }, -- struck-through text
["@markup.underline"] = { underline = true }, -- underlined text (only for literal underline markup!)

["@markup.heading"] = { link = "Title" }, -- headings, titles (including markers)
["@markup.heading"] = { fg = theme.palette.green, bold = true }, -- headings, titles (including markers)

["@markup.math"] = { link = "Special" }, -- math environments (e.g. `$ ... $` in LaTeX)

["@markup.link.label"] = { fg = theme.palette.purple }, -- link, reference descriptions
["@markup.link.url"] = { fg = theme.palette.blue }, -- URL-style links
["@markup.link.label"] = { fg = theme.palette.blue }, -- link, reference descriptions
["@markup.link.url"] = { fg = theme.palette.purple }, -- URL-style links

["@markup.raw"] = { fg = theme.palette.green }, -- literal or verbatim text (e.g. inline code)
["@markup.raw.delimiter"] = { fg = theme.palette.gray },

["@markup.list"] = { fg = theme.palette.red }, -- list markers
["@markup.list.checked"] = { bg = theme.palette.purple, fg = theme.palette.bg }, -- checked todo-style list markers
Expand Down

0 comments on commit 66f74f1

Please sign in to comment.