From 2bd6f97229e76bf1247cbe766585f5fcbfd327c8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 30 Jul 2022 17:10:22 +0200 Subject: Move plugin configs to highlight-group dir --- lua/no-clown-fiesta/highlight-group/markdown.lua | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lua/no-clown-fiesta/highlight-group/markdown.lua (limited to 'lua/no-clown-fiesta/highlight-group/markdown.lua') diff --git a/lua/no-clown-fiesta/highlight-group/markdown.lua b/lua/no-clown-fiesta/highlight-group/markdown.lua new file mode 100644 index 0000000..28ece3b --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/markdown.lua @@ -0,0 +1,31 @@ +local M = {} + +function M.highlight(palette) + return { + markdownBlockquote = { fg = palette.accent }, + markdownBold = { fg = palette.yellow, style = "bold" }, + markdownCode = { fg = palette.green }, + markdownCodeBlock = { fg = palette.green }, + markdownCodeDelimiter = { fg = palette.green }, + markdownH1 = { fg = palette.blue }, + markdownH2 = { fg = palette.blue }, + markdownH3 = { fg = palette.blue }, + markdownH4 = { fg = palette.blue }, + markdownH5 = { fg = palette.blue }, + markdownH6 = { fg = palette.blue }, + markdownHeadingDelimiter = { fg = palette.red }, + markdownHeadingRule = { fg = palette.accent }, + markdownId = { fg = palette.purple }, + markdownIdDeclaration = { fg = palette.blue }, + markdownIdDelimiter = { fg = palette.light_gray }, + markdownLinkDelimiter = { fg = palette.light_gray }, + markdownItalic = { style = "italic" }, + markdownLinkText = { fg = palette.blue }, + markdownListMarker = { fg = palette.red }, + markdownOrderedListMarker = { fg = palette.red }, + markdownRule = { fg = palette.accent }, + markdownUrl = { fg = palette.cyan, style = "underline" }, + } +end + +return M -- cgit v1.2.3-70-g09d2