From 99781b6e55128a4df2da8b1b1522d0d35ff38fe2 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Mon, 6 Dec 2021 05:49:13 -0500 Subject: [PATCH] feat: testing soft teal and different syntax (constants, fields and arrays) --- lua/catppuccin/core/color_palette.lua | 2 +- lua/catppuccin/core/integrations/treesitter.lua | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/catppuccin/core/color_palette.lua b/lua/catppuccin/core/color_palette.lua index b644746..3035598 100644 --- a/lua/catppuccin/core/color_palette.lua +++ b/lua/catppuccin/core/color_palette.lua @@ -1,5 +1,5 @@ local color_palette = { - catppuccin0 = "#C2E7F0", -- Ghost White + catppuccin0 = "#9DDDCB", -- Ghost White catppuccin1 = "#1E1E28", -- Xiketic catppuccin2 = "#ECBFBD", -- Fashion Fuchsia catppuccin3 = "#C6AAE8", -- Blue Shell diff --git a/lua/catppuccin/core/integrations/treesitter.lua b/lua/catppuccin/core/integrations/treesitter.lua index 214f6f9..3a7da3c 100644 --- a/lua/catppuccin/core/integrations/treesitter.lua +++ b/lua/catppuccin/core/integrations/treesitter.lua @@ -23,16 +23,16 @@ function M.get(cp) -- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in cp. -- TSError = { }; -- For syntax/parser errors. TSException = { fg = cp.catppuccin3, style = cnf.styles.keywords }, -- For exception related keywords. - TSField = { fg = cp.catppuccin5 }, -- For fields. + TSField = { fg = cp.catppuccin0 }, -- For fields. -- rustTSField = { fg = cp.catppuccin12 }, -- For fields. -- TSFloat = { }; -- For floats. TSFunction = { fg = cp.catppuccin9, style = cnf.styles.functions }, -- For function (calls and definitions). - TSFuncBuiltin = { fg = cp.catppuccin5 }, -- For builtin functions: `table.insert` in Lua. + TSFuncBuiltin = { fg = cp.catppuccin6 }, -- For builtin functions: `table.insert` in Lua. TSFuncMacro = { fg = cp.catppuccin5 }, -- For macro defined functions (calls and definitions): each `macro_rules` in Ruscp. - TSInclude = { fg = cp.catppuccin4, style = cnf.styles.keywords }, -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua. + TSInclude = { fg = cp.catppuccin0, style = cnf.styles.keywords }, -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua. TSKeyword = { fg = cp.catppuccin4, style = cnf.styles.keywords }, -- For keywords that don't fall in previous categories. TSKeywordFunction = { fg = cp.catppuccin3, style = cnf.styles.keywords }, -- For keywords used to define a fuction. - TSKeywordOperator = { fg = cp.catppuccin2, style = cnf.styles.keywords }, -- For `new` keyword operator + TSKeywordOperator = { fg = cp.catppuccin4, style = cnf.styles.keywords }, -- For `new` keyword operator TSLabel = { fg = cp.catppuccin9 }, -- For labels: `label:` in C and `:label:` in Lua. -- TSMethod = { }; -- For method calls and definitions. TSNamespace = { fg = cp.catppuccin3, style = "italic" }, -- For identifiers referring to modules and namespaces. @@ -41,7 +41,7 @@ function M.get(cp) TSOperator = { fg = cp.catppuccin4 }, -- For any operator: `+`, but also `->` and `*` in cp. TSParameter = { fg = cp.catppuccin2, style = "italic" }, -- For parameters of a function. -- TSParameterReference= { }; -- For references to parameters of a function. - TSProperty = { fg = cp.catppuccin5 }, -- Same as `TSField`. + TSProperty = { fg = cp.catppuccin0, style = "italic" }, -- Same as `TSField`. tomlTSProperty = { fg = cp.catppuccin9 }, -- Differentiates between string and properties TSPunctDelimiter = { fg = cp.catppuccin11 }, -- For delimiters ie: `.` TSPunctBracket = { fg = cp.catppuccin11 }, -- For brackets and parenthesis.