Skip to content

Commit

Permalink
Merge pull request #146 from saccarosium/main
Browse files Browse the repository at this point in the history
feat: adding asciidoc support
  • Loading branch information
Mofiqul authored Aug 8, 2023
2 parents 0597386 + abaad5a commit 11b2120
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions lua/vscode/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand Down

0 comments on commit 11b2120

Please sign in to comment.