-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more catppuccin treesitter coloring #7
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -164,6 +164,7 @@ players: | |||||||||||||||||||||
{{/each}} | ||||||||||||||||||||||
], | ||||||||||||||||||||||
"syntax": { | ||||||||||||||||||||||
{{!-- https://github.com/catppuccin/nvim/blob/56fb98218d22d5c326387bf9e4076227e7372e6b/lua/catppuccin/groups/integrations/treesitter.lua#L15 --}} | ||||||||||||||||||||||
"attribute": { | ||||||||||||||||||||||
"color": "#{{yellow}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
|
@@ -189,6 +190,11 @@ players: | |||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"constant.builtin": { | ||||||||||||||||||||||
"color": "#{{peach}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"constructor": { | ||||||||||||||||||||||
"color": "#{{blue}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
|
@@ -224,6 +230,11 @@ players: | |||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"module": { | ||||||||||||||||||||||
"color": "#{{lavender}}", | ||||||||||||||||||||||
"font_style": "italic", | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"number": { | ||||||||||||||||||||||
"color": "#{{peach}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
|
@@ -275,7 +286,7 @@ players: | |||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"string.regex": { | ||||||||||||||||||||||
"color": "#{{pink}}", | ||||||||||||||||||||||
"color": "#{{peach}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should stay There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||||||||||||||||||
|
@@ -289,6 +300,11 @@ players: | |||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"string.special.symbol": { | ||||||||||||||||||||||
"color": "#{{rosewater}}", | ||||||||||||||||||||||
"font_style": "italic", | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
Comment on lines
+303
to
+307
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We've moved away from rosewater in the newer style guide too, I'm curious how VSCode highlights these? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We had some discussion about this on the discord, will update the style guide soon but this should now be The reasoning being that these symbols are usually immutable/constants in languages
Suggested change
|
||||||||||||||||||||||
"tag": { | ||||||||||||||||||||||
"color": "#{{blue}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
|
@@ -299,14 +315,34 @@ players: | |||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"title": { | ||||||||||||||||||||||
"color": "#{{text}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": 800 | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"type": { | ||||||||||||||||||||||
"color": "#{{yellow}}", | ||||||||||||||||||||||
"font_style": "italic", | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"variable": { | ||||||||||||||||||||||
"color": "#{{text}}", | ||||||||||||||||||||||
"font_style": "italic", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"variable.builtin": { | ||||||||||||||||||||||
"color": "#{{red}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"variable.parameter": { | ||||||||||||||||||||||
"color": "#{{maroon}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"variable.member": { | ||||||||||||||||||||||
"color": "#{{lavender}}", | ||||||||||||||||||||||
"font_style": null, | ||||||||||||||||||||||
"font_weight": null | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
Comment on lines
+343
to
347
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like treesitter describes this as:
and in VSCode / JetBrains, we kept this as so this should kept as
Suggested change
|
||||||||||||||||||||||
"variable.special": { | ||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've moved away from lavender while defining the newer style guide, I'd be curious how VSCode highlights modules - I'd imagine its yellow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is indeed yellow!