From f92c4ebb01ebe90335970cc80f04e3c9665b8f3f Mon Sep 17 00:00:00 2001 From: Frede Braendstrup Date: Sun, 31 Oct 2021 21:39:16 +0100 Subject: [PATCH] updated type and namespace colors this is minded on cpp, so it would have to be checked against other filetypes, but the namespace color is very offputting, and the only color defined inline, which makes me think it was a mistake. I'm creating another PR here, because this part is more opinionated. The reason I also changed the type color, is also due to the way C++ is structured. A lot of things can happen inside of template so it being the same color as keywords and operators, makes it one big homogenous blob --- lua/dracula/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/dracula/init.lua b/lua/dracula/init.lua index 9248828..df1518d 100644 --- a/lua/dracula/init.lua +++ b/lua/dracula/init.lua @@ -164,7 +164,7 @@ highlight("TSBoolean", colors.purple, nil, nil, nil) highlight("TSFloat", colors.green, nil, nil, nil) highlight("TSAnnotation", colors.yellow, nil, nil, nil) highlight("TSAttribute", colors.cyan, nil, nil, nil) -highlight("TSNamespace", "#FF00FF", nil, nil, nil) +highlight("TSNamespace", colors.orange, nil, nil, nil) highlight("TSFuncBuiltin", colors.cyan, nil, nil, nil) highlight("TSFunction", colors.green, nil, nil, nil) @@ -186,7 +186,7 @@ highlight("TSKeywordFunction", colors.cyan, nil, nil, nil) highlight("TSKeywordOperator", colors.pink, nil, nil, nil) highlight("TSOperator", colors.pink, nil, nil, nil) highlight("TSException", colors.purple, nil, nil, nil) -highlight("TSType", colors.pink, nil, nil, nil) +highlight("TSType", colors.blue, nil, nil, nil) highlight("TSTypeBuiltin", colors.cyan, nil, "italic", nil) highlight("TSStructure", colors.purple, nil, nil, nil) highlight("TSInclude", colors.pink, nil, nil, nil) -- 2.30.2