Fix inheritance of statement colors in lush

This commit is contained in:
ViViDboarder 2021-10-26 10:13:48 -07:00
parent fbb0a63f10
commit 14814c0696

View File

@ -141,8 +141,8 @@ local theme = lush.extends({classic}).with(function()
-- Function { fg = c.green }, -- function name (also: methods for classes) -- Function { fg = c.green }, -- function name (also: methods for classes)
-- Statement { fg = c.purple }, -- (preferred) any statement -- Statement { fg = c.purple }, -- (preferred) any statement
Conditional { fg = classic.Statement }, -- if, then, else, endif, switch, etc. Conditional { classic.Statement }, -- if, then, else, endif, switch, etc.
Repeat { fg = classic.Statement }, -- for, do, while, etc. Repeat { classic.Statement }, -- for, do, while, etc.
Label { fg = c.magenta }, -- case, default, etc. Label { fg = c.magenta }, -- case, default, etc.
Operator { fg = c.magenta }, -- "sizeof", "+", "*", etc. Operator { fg = c.magenta }, -- "sizeof", "+", "*", etc.
-- Keyword { fg = c.blue }, -- any other keyword -- Keyword { fg = c.blue }, -- any other keyword