experiment 7.2 - different syntax

experiments
Pocco81 3 years ago
parent 9488f322b4
commit cc507a821f

@ -33,7 +33,7 @@ function M.get(cp)
-- builtin -- builtin
TSConstBuiltin = { fg = cp.teal, style = cnf.styles.keywords }, -- For constant that are built in the language: nil in Lua. TSConstBuiltin = { fg = cp.teal, style = cnf.styles.keywords }, -- For constant that are built in the language: nil in Lua.
TSFuncBuiltin = { fg = cp.peach, style = "italic" }, -- For builtin functions: table.insert in Lua. TSFuncBuiltin = { fg = cp.peach, style = "italic" }, -- For builtin functions: table.insert in Lua.
TSTypeBuiltin = { fg = cp.maroon, style = "italic" }, -- For builtin types. TSTypeBuiltin = { fg = cp.yellow, style = "italic" }, -- For builtin types.
TSVariableBuiltin = { fg = cp.teal, style = "italic" }, -- Variable names that are defined by the languages, like this or self. TSVariableBuiltin = { fg = cp.teal, style = "italic" }, -- Variable names that are defined by the languages, like this or self.
TSFunction = { fg = cp.blue, style = cnf.styles.functions }, -- For function (calls and definitions). TSFunction = { fg = cp.blue, style = cnf.styles.functions }, -- For function (calls and definitions).

@ -95,7 +95,7 @@ local function get_base()
Conditional = { fg = cp.red }, -- if, then, else, endif, switch, etcp. Conditional = { fg = cp.red }, -- if, then, else, endif, switch, etcp.
Repeat = { fg = cp.red }, -- for, do, while, etcp. Repeat = { fg = cp.red }, -- for, do, while, etcp.
Label = { fg = cp.peach }, -- case, default, etcp. Label = { fg = cp.peach }, -- case, default, etcp.
Operator = { fg = cp.flamingo }, -- "sizeof", "+", "*", etcp. Operator = { fg = cp.sky }, -- "sizeof", "+", "*", etcp.
Keyword = { fg = cp.pink, style = cnf.styles.keywords }, -- any other keyword Keyword = { fg = cp.pink, style = cnf.styles.keywords }, -- any other keyword
-- Exception = { }, -- try, catch, throw -- Exception = { }, -- try, catch, throw

Loading…
Cancel
Save