fix: _br stuff

dev-remaster
Pocco81 3 years ago
parent 29d69499c9
commit 4eb246fb89

@ -11,7 +11,7 @@ function M.get(cp)
-- TSAnnotation = { }; -- For C++/Dart attributes, annotations that can be attached to the code to denote some kind of meta information. -- TSAnnotation = { }; -- For C++/Dart attributes, annotations that can be attached to the code to denote some kind of meta information.
-- TSAttribute = { }; -- (unstable) TODO: docs -- TSAttribute = { }; -- (unstable) TODO: docs
TSBoolean = { fg = cp.catppuccino7_br, style = cnf.styles.keywords }, -- For booleans. TSBoolean = { fg = cp.catppuccino7, style = cnf.styles.keywords }, -- For booleans.
-- TSCharacter = { }; -- For characters. -- TSCharacter = { }; -- For characters.
-- TSComment = { }; -- For comment blocks. -- TSComment = { }; -- For comment blocks.
TSNote = { fg = cp.catppuccino2, catppuccino2 = cp.info }, TSNote = { fg = cp.catppuccino2, catppuccino2 = cp.info },
@ -20,7 +20,7 @@ function M.get(cp)
TSConstructor = { fg = cp.catppuccino5 }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors. TSConstructor = { fg = cp.catppuccino5 }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors.
TSConditional = { fg = cp.catppuccino6, style = cnf.styles.keywords }, -- For keywords related to conditionnals. TSConditional = { fg = cp.catppuccino6, style = cnf.styles.keywords }, -- For keywords related to conditionnals.
TSConstant = { fg = cp.catppuccino7 }, -- For constants TSConstant = { fg = cp.catppuccino7 }, -- For constants
TSConstBuiltin = { fg = cp.catppuccino7_br, style = cnf.styles.keywords }, -- For constant that are built in the language: `nil` in Lua. TSConstBuiltin = { fg = cp.catppuccino7, style = cnf.styles.keywords }, -- For constant that are built in the language: `nil` in Lua.
-- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in cp. -- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in cp.
-- TSError = { }; -- For syntax/parser errors. -- TSError = { }; -- For syntax/parser errors.
TSException = { fg = cp.catppuccino4, style = cnf.styles.keywords }, -- For exception related keywords. TSException = { fg = cp.catppuccino4, style = cnf.styles.keywords }, -- For exception related keywords.
@ -40,11 +40,11 @@ function M.get(cp)
-- TSNone = { }; -- TODO: docs -- TSNone = { }; -- TODO: docs
-- TSNumber = { }; -- For all numbers -- TSNumber = { }; -- For all numbers
TSOperator = { fg = cp.catppuccino3 }, -- For any operator: `+`, but also `->` and `*` in cp. TSOperator = { fg = cp.catppuccino3 }, -- For any operator: `+`, but also `->` and `*` in cp.
TSParameter = { fg = cp.catppuccino7_br }, -- For parameters of a function. TSParameter = { fg = cp.catppuccino7 }, -- For parameters of a function.
-- TSParameterReference= { }; -- For references to parameters of a function. -- TSParameterReference= { }; -- For references to parameters of a function.
TSProperty = { fg = cp.catppuccino6 }, -- Same as `TSField`. TSProperty = { fg = cp.catppuccino6 }, -- Same as `TSField`.
tomlTSProperty = { fg = cp.catppuccino10 }, -- Differentiates between string and properties tomlTSProperty = { fg = cp.catppuccino10 }, -- Differentiates between string and properties
TSPunctDelimiter = { fg = cp.catppuccino8_br }, -- For delimiters ie: `.` TSPunctDelimiter = { fg = cp.catppuccino8 }, -- For delimiters ie: `.`
TSPunctBracket = { fg = cp.catppuccino6 }, -- For brackets and parenthesis. TSPunctBracket = { fg = cp.catppuccino6 }, -- For brackets and parenthesis.
TSPunctSpecial = { fg = cp.catppuccino0 }, -- For special punctutation that does not fall in the catagories before. TSPunctSpecial = { fg = cp.catppuccino0 }, -- For special punctutation that does not fall in the catagories before.
TSRepeat = { fg = cp.catppuccino6, style = cnf.styles.keywords }, -- For keywords related to loops. TSRepeat = { fg = cp.catppuccino6, style = cnf.styles.keywords }, -- For keywords related to loops.

@ -12,5 +12,4 @@ function M.get(cp)
} }
end end
print("llo )
return M return M

@ -10,7 +10,7 @@ local function get_properties()
background = "dark", background = "dark",
} }
if colors_util.assert_brightness(color_palette.catppuccino2) then if colors_util.assertightness(color_palette.catppuccino2) then
props["background"] = "light" props["background"] = "light"
end end
@ -86,9 +86,9 @@ local function get_base()
Constant = { fg = cp.catppuccino7 }, -- (prefercatppuccino6) any constant Constant = { fg = cp.catppuccino7 }, -- (prefercatppuccino6) any constant
String = { fg = cp.catppuccino8, style = cnf.styles.strings }, -- a string constant: "this is a string" String = { fg = cp.catppuccino8, style = cnf.styles.strings }, -- a string constant: "this is a string"
Character = { fg = cp.catppuccino8 }, -- a character constant: 'c', '\n' Character = { fg = cp.catppuccino8 }, -- a character constant: 'c', '\n'
Number = { fg = cp.catppuccino7_br }, -- a number constant: 234, 0xff Number = { fg = cp.catppuccino7 }, -- a number constant: 234, 0xff
Float = { fg = cp.catppuccino7_br }, -- a floating point constant: 2.3e10 Float = { fg = cp.catppuccino7 }, -- a floating point constant: 2.3e10
Boolean = { fg = cp.catppuccino7_br }, -- a boolean constant: TRUE, false Boolean = { fg = cp.catppuccino7 }, -- a boolean constant: TRUE, false
Identifier = { fg = cp.catppuccino3, style = cnf.styles.variables }, -- (prefercatppuccino6) any variable name Identifier = { fg = cp.catppuccino3, style = cnf.styles.variables }, -- (prefercatppuccino6) any variable name
Function = { fg = cp.catppuccino10, style = cnf.styles.functions }, -- function name (also: methods for classes) Function = { fg = cp.catppuccino10, style = cnf.styles.functions }, -- function name (also: methods for classes)
Statement = { fg = cp.catppuccino4 }, -- (prefercatppuccino6) any statement Statement = { fg = cp.catppuccino4 }, -- (prefercatppuccino6) any statement
@ -156,7 +156,7 @@ local function get_base()
DiffText = { fg = cp.diff.text, catppuccino2 = cp.catppuccino2 }, -- diff mode: Changed text within a changed line |diff.txt| DiffText = { fg = cp.diff.text, catppuccino2 = cp.catppuccino2 }, -- diff mode: Changed text within a changed line |diff.txt|
-- NeoVim -- NeoVim
healthError = { fg = cp.error }, healthError = { fg = cp.error },
healthSuccess = { fg = cp.catppuccino8_br }, healthSuccess = { fg = cp.catppuccino8 },
healthWarning = { fg = cp.warning }, healthWarning = { fg = cp.warning },
-- misc -- misc
@ -165,7 +165,7 @@ local function get_base()
GlyphPalette2 = { fg = cp.catppuccino8 }, GlyphPalette2 = { fg = cp.catppuccino8 },
GlyphPalette3 = { fg = cp.catppuccino9 }, GlyphPalette3 = { fg = cp.catppuccino9 },
GlyphPalette4 = { fg = cp.catppuccino10 }, GlyphPalette4 = { fg = cp.catppuccino10 },
GlyphPalette6 = { fg = cp.catppuccino8_br }, GlyphPalette6 = { fg = cp.catppuccino8 },
GlyphPalette7 = { fg = cp.fg }, GlyphPalette7 = { fg = cp.fg },
GlyphPalette9 = { fg = cp.catppuccino6 }, GlyphPalette9 = { fg = cp.catppuccino6 },
} }

Loading…
Cancel
Save