Skip to content

Commit 3a8f753

Browse files
A-Lamiamehalter
authored andcommitted
fix(config): add missing check for italic comments
1 parent f8f358d commit 3a8f753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/astrotheme/groups/syntax.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
-- - Character (Subgroup)
99
--
1010
-- Ref: :help group-name
11-
local function callback()
11+
local function callback(opts)
1212
return {
1313
-- Comment
14-
Comment = { fg = C.syntax.comment, bg = C.none }, -- any comment
14+
Comment = { fg = C.syntax.comment, bg = C.none, italic = opts.italic_comments }, -- any comment
1515
-- Constant
1616
Constant = { fg = C.syntax.yellow, bg = C.none }, -- any constant
1717
String = { fg = C.syntax.green, bg = C.none }, -- a string constant: "this is a string"

0 commit comments

Comments
 (0)