checking markdown

master
tiyn 9 months ago
parent 54c8e04705
commit 42ef097a3e

@ -287,7 +287,21 @@ theme.set_highlights = function(opts)
hl(0, 'CursorWord', { underline = true })
-- markdown
hl(0, '@markup.heading', { fg = c.modified_fg, bold = true })
hl(0, '@text', { fg = c.fg }) -- Legacy
hl(0, '@markup.strong', { fg = c.bold, bold = true })
hl(0, '@markup.italic', { fg = c.fg, italic = true })
hl(0, '@markup.underline', { fg = c.fg, bg = 'NONE' })
hl(0, '@markup.strikethrough', { fg = c.fg, strikethrough = true })
hl(0, '@markup.heading', { fg = c.accent, bold = true })
hl(0, '@markup.raw', { fg = c.fg })
hl(0, '@markup.raw.markdown', { fg = c.string })
hl(0, '@markup.raw.markdown_inline', { fg = c.string })
hl(0, '@markup.link.label', { fg = c.tag })
hl(0, '@markup.link.url', { fg = c.fg })
hl(0, '@markup.list.checked', { link = 'Todo' })
hl(0, '@markup.list.unchecked', { link = 'Todo' })
hl(0, '@textReference', { fg = c.fg })
hl(0, '@stringEscape', { fg = c.fg, bold = true })
end

Loading…
Cancel
Save