From abaad5a32245728566bdd75c5d1575d6888b42eb Mon Sep 17 00:00:00 2001 From: Luca Saccarola Date: Tue, 8 Aug 2023 07:33:06 +0200 Subject: [PATCH] feat: adding asciidoc support --- lua/vscode/theme.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/lua/vscode/theme.lua b/lua/vscode/theme.lua index 4fa3716..7e00ae6 100644 --- a/lua/vscode/theme.lua +++ b/lua/vscode/theme.lua @@ -177,6 +177,29 @@ theme.set_highlights = function(opts) hl(0, 'markdownLinkText', { fg = isDark and c.vscOrange or c.vscYellowOrange }) hl(0, 'markdownEscape', { fg = isDark and c.vscOrange or c.vscYellowOrange }) + -- Asciidoc + hl(0, "asciidocAttributeEntry", { fg = c.vscYellowOrange }) + hl(0, "asciidocAttributeList", { fg = c.vscPink }) + hl(0, "asciidocAttributeRef", { fg = c.vscYellowOrange }) + hl(0, "asciidocHLabel", { fg = c.vscBlue, bold = true }) + hl(0, "asciidocListingBlock", { fg = c.vscOrange }) + hl(0, "asciidocMacroAttributes", { fg = c.vscYellowOrange }) + hl(0, "asciidocOneLineTitle", { fg = c.vscBlue, bold = true }) + hl(0, "asciidocPassthroughBlock", { fg = c.vscBlue }) + hl(0, "asciidocQuotedMonospaced", { fg = c.vscOrange }) + hl(0, "asciidocTriplePlusPassthrough", { fg = c.vscYellow }) + hl(0, "asciidocMacro", { fg = c.vscPink }) + hl(0, "asciidocAdmonition", { fg = c.vscOrange }) + hl(0, "asciidocQuotedEmphasized", { fg = c.vscBlue, italic = true }) + hl(0, "asciidocQuotedEmphasized2", { fg = c.vscBlue, italic = true }) + hl(0, "asciidocQuotedEmphasizedItalic", { fg = c.vscBlue, italic = true }) + hl(0, "asciidocBackslash", { link = "Keyword" }) + hl(0, "asciidocQuotedBold", { link = "markdownBold" }) + hl(0, "asciidocQuotedMonospaced2", { link = "asciidocQuotedMonospaced" }) + hl(0, "asciidocQuotedUnconstrainedBold", { link = "asciidocQuotedBold" }) + hl(0, "asciidocQuotedUnconstrainedEmphasized", { link = "asciidocQuotedEmphasized" }) + hl(0, "asciidocURL", { link = "markdownUrl" }) + -- JSON hl(0, 'jsonKeyword', { fg = c.vscLightBlue, bg = 'NONE' }) hl(0, 'jsonEscape', { fg = c.vscYellowOrange, bg = 'NONE' })