File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ M.colors = {
32
32
H6Bg = ' DiffDelete' ,
33
33
-- General
34
34
Code = ' ColorColumn' ,
35
+ CodeInline = ' RenderMarkdownCode' ,
35
36
Bullet = ' Normal' ,
36
37
Quote = ' @markup.quote' ,
37
38
Dash = ' LineNr' ,
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ M.render_code = function(info)
52
52
opts = {
53
53
end_row = info .end_row ,
54
54
end_col = info .end_col ,
55
- hl_group = code .highlight ,
55
+ hl_group = code .highlight_inline ,
56
56
},
57
57
}
58
58
end
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ local M = {}
73
73
--- @field public above ? string
74
74
--- @field public below ? string
75
75
--- @field public highlight ? string
76
+ --- @field public highlight_inline ? string
76
77
77
78
--- @class render.md.UserHeading
78
79
--- @field public enabled ? boolean
@@ -253,6 +254,7 @@ M.default_config = {
253
254
below = ' ▀' ,
254
255
-- Highlight for code blocks & inline code
255
256
highlight = ' RenderMarkdownCode' ,
257
+ highlight_inline = ' RenderMarkdownCodeInline' ,
256
258
},
257
259
dash = {
258
260
-- Turn on / off thematic break rendering
Original file line number Diff line number Diff line change 58
58
--- @field public above string
59
59
--- @field public below string
60
60
--- @field public highlight string
61
+ --- @field public highlight_inline string
61
62
62
63
--- @class render.md.Heading
63
64
--- @field public enabled boolean
You can’t perform that action at this time.
0 commit comments