updated type and namespace colors
authorFrede Braendstrup <frederikbraendstrup@gmail.com>
Sun, 31 Oct 2021 20:39:16 +0000 (21:39 +0100)
committerFrede Braendstrup <frederikbraendstrup@gmail.com>
Sun, 31 Oct 2021 20:39:16 +0000 (21:39 +0100)
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<here> so it
being the same color as keywords and operators, makes it one big
homogenous blob

lua/dracula/init.lua

index 9248828fcb5cded6e925451b7de71dfb94358e73..df1518d6f0dd13adcb9d5b1f99fd74e574e6bb83 100644 (file)
@@ -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)