Skip to content

Commit

Permalink
Changing Macro color to avoid color confusion
Browse files Browse the repository at this point in the history
I noticed that in Rust, `println!`being a macro, it matched the color of string literals. This was visually confusing to me, so I checked what the nvim catpuccin theme (https://github.com/catppuccin/nvim) does. While it is pretty different, it does use different colors for strings and all function types: https://share.cleanshot.com/RLG2y1

I don't know if blue or red makes more sense given the other syntax choices, but wanted to propose this change cc @IsotoxalDev
  • Loading branch information
heliostatic authored and the-mikedavis committed May 25, 2022
1 parent 82da9bd commit 7160e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/themes/catpuccin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type = "blue"
"type.builtin" = "white"
constructor = "blue"
function = "red"
"function.macro" = "green"
"function.macro" = "blue"
"function.builtin" = "blue"
tag = "peach"
comment = "gray_1"
Expand Down

0 comments on commit 7160e74

Please sign in to comment.