diff options
Diffstat (limited to '.vim/lua')
| -rw-r--r-- | .vim/lua/colors.lua | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/.vim/lua/colors.lua b/.vim/lua/colors.lua index 738f792..e4d9bea 100644 --- a/.vim/lua/colors.lua +++ b/.vim/lua/colors.lua @@ -98,14 +98,13 @@ return lush(function() Character { String }, -- a character constant: 'c', '\n' Number { Boolean }, -- a number constant: 234, 0xff Float { Number }, -- a floating point constant: 2.3e10 - Comment { Italic, fg = hsl(p.dim.white).lighten(30) }, - Macro { fg = hsl(p.normal.cyan) }, -- same as Define - Constant { gui = 'bold' }, -- (preferred) any constant + Keyword { fg = hsl(p.normal.green), gui = 'italic' }, -- any other keyword + Macro { Keyword, fg = hsl(p.normal.cyan) }, -- same as Define + Constant { Normal, gui = 'bold' }, -- (preferred) any constant Special { fg = hsl(p.normal.yellow) }, -- (preferred) any special symbol - SpecialComment { fg = hsl(p.bright.cyan), gui = 'italic' }, -- special things inside a comment + SpecialComment { Comment, fg = hsl(p.bright.cyan) }, -- special things inside a comment Statement { fg = hsl(p.bright.blue) }, -- (preferred) any statement - Keyword { fg = hsl(p.normal.green) }, -- any other keyword Tag { Special, gui = 'underline' }, -- you can use CTRL-] on this Type { fg = hsl(p.bright.green) }, -- (preferred) int, long, char, etc. Conditional { Keyword }, -- if, then, else, endif, switch, etc. @@ -113,10 +112,10 @@ return lush(function() Delimiter { Special }, -- character that needs attention Exception { Keyword }, -- try, catch, throw Function { Normal }, -- function name (also: methods for classes) - Identifier { Normal }, -- (preferred) any variable name + Identifier { Normal, gui = 'bold' }, -- (preferred) any variable name Include { Macro }, -- preprocessor #include - Label { Keyword }, -- case, default, etc. - Operator { Keyword }, -- "sizeof", "+", "*", etc. + Label { Keyword, gui = 'bold' }, -- case, default, etc. + Operator { Keyword, gui = 'none' }, -- "sizeof", "+", "*", etc. PreCondit { Macro }, -- preprocessor #if, #else, #endif, etc. PreProc { Macro }, -- (preferred) generic Preprocessor Repeat { Keyword }, -- for, do, while, etc. @@ -232,7 +231,7 @@ return lush(function() -- TSBoolean { }, -- For booleans. -- TSFloat { }, -- For floats. -- TSFunction { }, -- For function (calls and definitions). - TSFuncBuiltin { fg = hsl(p.normal.magenta) }, -- For builtin functions: `table.insert` in Lua. + TSFuncBuiltin { Function, fg = hsl(p.normal.magenta) }, -- For builtin functions: `table.insert` in Lua. -- TSFuncMacro { }, -- For macro defined fuctions (calls and definitions): each `macro_rules` in Rust. -- TSParameter { }, -- For parameters of a function. -- TSParameterReference { }, -- For references to parameters of a function. |