From 31a038f59f34aab0234f1e9cbfc6857df04f78f2 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Sun, 26 Sep 2021 22:41:19 -0500 Subject: [PATCH] feat: TSInclude (resolves #36) --- lua/catppuccino/core/integrations/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/catppuccino/core/integrations/treesitter.lua b/lua/catppuccino/core/integrations/treesitter.lua index 8fa7b8e..0c8c698 100644 --- a/lua/catppuccino/core/integrations/treesitter.lua +++ b/lua/catppuccino/core/integrations/treesitter.lua @@ -30,7 +30,7 @@ function M.get(cpt) -- TSFunction = { fg = cpt.fg_gutter }, -- For function (calls and definitions). TSFuncBuiltin = { fg = cpt.cyan }, -- For builtin functions: `table.insert` in Lua. TSFuncMacro = { fg = cpt.red }, -- For macro defined functions (calls and definitions): each `macro_rules` in Ruscpt. - -- TSInclude = { }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua. + TSInclude = { fg = cpt.magenta, style = cpc.styles.keywords }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua. TSKeyword = { fg = cpt.magenta, style = cpc.styles.keywords }, -- For keywords that don't fall in previous categories. TSKeywordFunction = { fg = cpt.magenta_br, style = cpc.styles.functions }, -- For keywords used to define a fuction. TSLabel = { fg = cpt.blue }, -- For labels: `label:` in C and `:label:` in Lua.