@@ -154,12 +154,12 @@ function M.setup()
154
154
markdownCode = { fg = c .cyan_cooler },
155
155
markdownCodeBlock = { fg = c .cyan_cooler },
156
156
markdownLinkText = { fg = c .blue , underline = true },
157
- markdownH1 = { fg = c . blue , bold = true },
158
- markdownH2 = { fg = c . yellow , bold = true },
159
- markdownH3 = { fg = c . magenta , bold = true },
160
- markdownH4 = { fg = c . green , bold = true },
161
- markdownH5 = { fg = c . red , bold = true },
162
- markdownH6 = { fg = c . cyan_warmer , bold = true },
157
+ markdownH1 = { link = " @markup.heading.1 " },
158
+ markdownH2 = { link = " @markup.heading.2 " },
159
+ markdownH3 = { link = " @markup.heading.3 " },
160
+ markdownH4 = { link = " @markup.heading.4 " },
161
+ markdownH5 = { link = " @markup.heading.5 " },
162
+ markdownH6 = { link = " @markup.heading.6 " },
163
163
164
164
-- These groups are for the native LSP client. Some other LSP clients may
165
165
-- use these groups, or use their own. Consult your LSP client's
@@ -177,17 +177,20 @@ function M.setup()
177
177
DiagnosticWarn = { fg = c .warning , bold = true }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default.
178
178
DiagnosticInfo = { fg = c .info , bold = true }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default.
179
179
DiagnosticHint = { fg = c .hint , bold = true }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default.
180
+ DiagnosticOk = { fg = c .ok , bold = true }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default.
180
181
DiagnosticUnnecessary = { fg = c .fg_dim }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default.
181
182
182
183
DiagnosticVirtualTextError = { fg = c .error , bold = true }, -- Used for "Error" diagnostic virtual text.
183
184
DiagnosticVirtualTextWarn = { fg = c .warning , bold = true }, -- Used for "Warning" diagnostic virtual text.
184
185
DiagnosticVirtualTextInfo = { fg = c .info , bold = true }, -- Used for "Information" diagnostic virtual text.
185
186
DiagnosticVirtualTextHint = { fg = c .hint , bold = true }, -- Used for "Hint" diagnostic virtual text.
187
+ DiagnosticVirtualTextOk = { fg = c .ok , bold = true }, -- Used for "Ok" diagnostic virtual text.
186
188
187
189
DiagnosticUnderlineError = { undercurl = true , sp = c .error }, -- Used to underline "Error" diagnostics.
188
190
DiagnosticUnderlineWarn = { undercurl = true , sp = c .warning }, -- Used to underline "Warning" diagnostics.
189
191
DiagnosticUnderlineInfo = { undercurl = true , sp = c .info }, -- Used to underline "Information" diagnostics.
190
192
DiagnosticUnderlineHint = { undercurl = true , sp = c .hint }, -- Used to underline "Hint" diagnostics.
193
+ DiagnosticUnderlineOk = { undercurl = true , sp = c .ok }, -- Used to underline "Ok" diagnostics.
191
194
192
195
ALEErrorSign = { fg = c .error , bold = true },
193
196
ALEWarningSign = { fg = c .warning , bold = true },
@@ -852,6 +855,22 @@ function M.setup()
852
855
IblIndent = { fg = c .fg_dim , nocombine = true },
853
856
IblScope = { fg = c .magenta_cooler , nocombine = true },
854
857
858
+ -- render-markdown.nvim
859
+ RenderMarkdownCodeInline = { link = " markdownCode" },
860
+ RenderMarkdownCode = { link = " markdownCodeBlock" },
861
+ RenderMarkdownH1 = { link = " @markup.heading.1" },
862
+ RenderMarkdownH2 = { link = " @markup.heading.2" },
863
+ RenderMarkdownH3 = { link = " @markup.heading.3" },
864
+ RenderMarkdownH4 = { link = " @markup.heading.4" },
865
+ RenderMarkdownH5 = { link = " @markup.heading.5" },
866
+ RenderMarkdownH6 = { link = " @markup.heading.6" },
867
+ RenderMarkdownH1Bg = { fg = c .blue , bg = c .bg_blue_nuanced },
868
+ RenderMarkdownH2Bg = { fg = c .yellow , bg = c .bg_yellow_nuanced },
869
+ RenderMarkdownH3Bg = { fg = c .magenta , bg = c .bg_magenta_nuanced },
870
+ RenderMarkdownH4Bg = { fg = c .green , bg = c .bg_green_nuanced },
871
+ RenderMarkdownH5Bg = { fg = c .red , bg = c .bg_red_nuanced },
872
+ RenderMarkdownH6Bg = { fg = c .cyan_warmer , bg = c .bg_cyan_nuanced },
873
+
855
874
-- snacks.nvim
856
875
SnacksPicker = { link = " Normal" },
857
876
SnacksPickerListCursorLine = { link = " CursorLine" },
0 commit comments