Skip to content

Commit 4cc49a4

Browse files
committed
fix(groups): add String group for non tree-sitter string highlights
Signed-off-by: Jakob Beckmann <[email protected]>
1 parent b1e6f19 commit 4cc49a4

1 file changed

Lines changed: 23 additions & 22 deletions

File tree

lua/gruvbox-material/groups.lua

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,38 +68,39 @@ function groups.get(contrast)
6868
BlueSign = { fg = colors.blue, bg = colors.bg2 },
6969
PurpleSign = { fg = colors.purple, bg = colors.bg2 },
7070

71-
Type = { fg = colors.yellow }, -- int, long, char, etc.
72-
Typedef = { fg = colors.red }, -- A typedef
73-
StorageClass = { fg = colors.orange }, -- static, register, volatile, etc.
74-
Structure = { fg = colors.orange }, -- struct, union, enum, etc.
75-
Constant = { fg = colors.aqua }, -- any constant
76-
Character = { fg = colors.green }, -- any character constant: 'c', '\n'
77-
Number = { fg = colors.purple }, -- a number constant: 5
7871
Boolean = { fg = colors.purple }, -- a boolean constant: TRUE, false
79-
Float = { fg = colors.purple }, -- a floating point constant: 2.3e10
80-
Statement = { fg = colors.red }, -- any statement
81-
Label = { fg = colors.orange }, -- case, default, etc.
82-
Operator = { fg = colors.orange }, -- sizeof", "+", "*", etc.
83-
Exception = { fg = colors.red }, -- try, catch, throw
84-
PreProc = { fg = colors.purple }, -- generic Preprocessor
85-
Include = { fg = colors.purple }, -- preprocessor #include
72+
Character = { fg = colors.green }, -- any character constant: 'c', '\n'
73+
Constant = { fg = colors.aqua }, -- any constant
74+
Debug = { fg = colors.orange }, -- debugging statements
8675
Define = { fg = colors.purple }, -- preprocessor #define
76+
Delimiter = { fg = colors.fg0 }, -- character that needs attention like , or .
77+
Exception = { fg = colors.red }, -- try, catch, throw
78+
Float = { fg = colors.purple }, -- a floating point constant: 2.3e10
79+
Function = { fg = colors.green }, -- special character in a constant
8780
Identifier = { fg = colors.blue },
81+
Ignore = { fg = colors.grey1 }, -- left blank, hidden
82+
Include = { fg = colors.purple }, -- preprocessor #include
83+
Label = { fg = colors.orange }, -- case, default, etc.
8884
Macro = { fg = colors.aqua }, -- same as Define
85+
Number = { fg = colors.purple }, -- a number constant: 5
86+
Operator = { fg = colors.orange }, -- sizeof", "+", "*", etc.
8987
PreCondit = { fg = colors.purple }, -- preprocessor #if, #else, #endif, etc.
88+
PreProc = { fg = colors.purple }, -- generic Preprocessor
89+
QuickFixLine = { fg = colors.purple, bold = true }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
9090
Special = { fg = colors.yellow }, -- any special symbol
9191
SpecialChar = { fg = colors.yellow }, -- special character in a constant
92-
Function = { fg = colors.green }, -- special character in a constant
92+
Statement = { fg = colors.red }, -- any statement
93+
StorageClass = { fg = colors.orange }, -- static, register, volatile, etc.
94+
String = { fg = colors.aqua },
95+
Structure = { fg = colors.orange }, -- struct, union, enum, etc.
9396
Tag = { fg = colors.orange }, -- you can use CTRL-] on this
94-
Delimiter = { fg = colors.fg0 }, -- character that needs attention like , or .
95-
QuickFixLine = { fg = colors.purple, bold = true }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
96-
Debug = { fg = colors.orange }, -- debugging statements
97-
debucPC = { fg = colors.bg0, bg = colors.green }, -- the current position
98-
debugBreakpoint = { fg = colors.bg0 }, -- a breakpoint
99-
ToolbarLine = { fg = colors.fg1, bg = colors.bg3 },
10097
ToolbarButton = { fg = colors.fg0, bg = colors.grey2 },
98+
ToolbarLine = { fg = colors.fg1, bg = colors.bg3 },
99+
Type = { fg = colors.yellow }, -- int, long, char, etc.
100+
Typedef = { fg = colors.red }, -- A typedef
101101
Underlined = { fg = colors.blue, underline = true }, -- text that stands out, HTML links
102-
Ignore = { fg = colors.grey1 }, -- left blank, hidden
102+
debucPC = { fg = colors.bg0, bg = colors.green }, -- the current position
103+
debugBreakpoint = { fg = colors.bg0 }, -- a breakpoint
103104

104105
Comment = { fg = colors.grey1, italic = true }, -- any comments
105106
SpecialComment = { fg = colors.grey1, italic = true }, -- special things inside a comment

0 commit comments

Comments
 (0)