summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/markdown.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-12 17:01:26 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-12 17:01:26 +0100
commita7de377d8d3087581958f84d982b616fc93ca471 (patch)
tree3973da30d746b3f6d5322fadfc24c0391fa32afb /lua/no-clown-fiesta/groups/markdown.lua
parent2a811fa58f67333e2abead85ef76d969f7916070 (diff)
Rename module
Diffstat (limited to 'lua/no-clown-fiesta/groups/markdown.lua')
-rw-r--r--lua/no-clown-fiesta/groups/markdown.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/groups/markdown.lua b/lua/no-clown-fiesta/groups/markdown.lua
new file mode 100644
index 0000000..6147a25
--- /dev/null
+++ b/lua/no-clown-fiesta/groups/markdown.lua
@@ -0,0 +1,31 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ markdownBlockquote = { fg = palette.accent },
+ markdownBold = { fg = palette.yellow, bold = true },
+ 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 = { italic = true },
+ markdownLinkText = { fg = palette.blue },
+ markdownListMarker = { fg = palette.red },
+ markdownOrderedListMarker = { fg = palette.red },
+ markdownRule = { fg = palette.accent },
+ markdownUrl = { fg = palette.cyan, underline = true },
+ }
+end
+
+return M