Skip to content

Commit

Permalink
Merge pull request #81 from TinusgragLin/main
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehri01 authored Jan 29, 2024
2 parents a7e293a + 40850f7 commit ad19a49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lua/onenord/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,20 @@ function theme.highlights(colors, config)
-- Variable names defined by the language: `this` or `self` in Javascript.
["@variable.builtin"] = { fg = colors.red, style = config.styles.variables },

-- Specific to Markdown: different levels of headings
["@markup.heading.1.markdown"] = { link = "markdownH1" },
["@markup.heading.2.markdown"] = { link = "markdownH2" },
["@markup.heading.3.markdown"] = { link = "markdownH3" },
["@markup.heading.4.markdown"] = { link = "markdownH4" },
["@markup.heading.5.markdown"] = { link = "markdownH5" },
["@markup.heading.6.markdown"] = { link = "markdownH6" },
["@markup.heading.1.marker.markdown"] = { link = "markdownH1Delimiter" },
["@markup.heading.2.marker.markdown"] = { link = "markdownH2Delimiter" },
["@markup.heading.3.marker.markdown"] = { link = "markdownH3Delimiter" },
["@markup.heading.4.marker.markdown"] = { link = "markdownH4Delimiter" },
["@markup.heading.5.marker.markdown"] = { link = "markdownH5Delimiter" },
["@markup.heading.6.marker.markdown"] = { link = "markdownH6Delimiter" },

-- Legacy highlights
["@conditional"] = { link = "@keyword.conditional" },
["@exception"] = { link = "@keyword.exception" },
Expand Down

0 comments on commit ad19a49

Please sign in to comment.