enhanced syntax

dev-rc
Pocco81 3 years ago
parent 8da37a3dfe
commit d3d7c679f5

@ -38,13 +38,13 @@ function M.get(cp)
TSNamespace = { fg = cp.catppuccin2 }, -- For identifiers referring to modules and namespaces. TSNamespace = { fg = cp.catppuccin2 }, -- For identifiers referring to modules and namespaces.
-- TSNone = { }; -- TODO: docs -- TSNone = { }; -- TODO: docs
-- TSNumber = { }; -- For all numbers -- TSNumber = { }; -- For all numbers
TSOperator = { fg = cp.catppuccin2 }, -- For any operator: `+`, but also `->` and `*` in cp. TSOperator = { fg = cp.catppuccin4 }, -- For any operator: `+`, but also `->` and `*` in cp.
TSParameter = { fg = cp.catppuccin6 }, -- For parameters of a function. TSParameter = { fg = cp.catppuccin6 }, -- For parameters of a function.
-- TSParameterReference= { }; -- For references to parameters of a function. -- TSParameterReference= { }; -- For references to parameters of a function.
TSProperty = { fg = cp.catppuccin5 }, -- Same as `TSField`. TSProperty = { fg = cp.catppuccin5 }, -- Same as `TSField`.
tomlTSProperty = { fg = cp.catppuccin9 }, -- Differentiates between string and properties tomlTSProperty = { fg = cp.catppuccin9 }, -- Differentiates between string and properties
TSPunctDelimiter = { fg = cp.catppuccin2 }, -- For delimiters ie: `.` TSPunctDelimiter = { fg = cp.catppuccin2 }, -- For delimiters ie: `.`
TSPunctBracket = { fg = cp.catppuccin5 }, -- For brackets and parenthesis. TSPunctBracket = { fg = cp.catppuccin11 }, -- For brackets and parenthesis.
TSPunctSpecial = { fg = cp.catppuccin0 }, -- For special punctutation that does not fall in the catagories before. TSPunctSpecial = { fg = cp.catppuccin0 }, -- For special punctutation that does not fall in the catagories before.
TSRepeat = { fg = cp.catppuccin5, style = cnf.styles.keywords }, -- For keywords related to loops. TSRepeat = { fg = cp.catppuccin5, style = cnf.styles.keywords }, -- For keywords related to loops.
-- TSString = { }; -- For strings. -- TSString = { }; -- For strings.

Loading…
Cancel
Save