feat(markdown): added different colors for each headline (#423)

* feat(markdown)

* change: title1 to blue instead of red.

Markdown notifications will use the color of title1, so we don't want red. Blue is the one we've been using it, so let's keep it.

Also, the title don't deserve so much visual weight, as users will be focusing their attention on the document content instead.
Этот коммит содержится в:
Zeioth
2023-09-25 10:45:28 +02:00
коммит произвёл GitHub
родитель b0ff1f6fac
Коммит ad7e8fff8d

Просмотреть файл

@@ -308,6 +308,14 @@ function M.setup()
-- NOTE: maybe add these with distinct highlights?
-- ["@lsp.typemod.variable.globalScope"] (global variables)
-- Markdown
["@text.title.1.markdown"] = { fg = c.blue, bold = true },
["@text.title.2.markdown"] = { fg = c.yellow, bold = true },
["@text.title.3.markdown"] = { fg = c.green, bold = true},
["@text.title.4.markdown"] = { fg = c.teal, bold = true},
["@text.title.5.markdown"] = { fg = c.magenta, bold = true},
["@text.title.6.markdown"] = { fg = c.purple, bold = true},
-- ts-rainbow
rainbowcol1 = { fg = c.red },
rainbowcol2 = { fg = c.yellow },