-
Notifications
You must be signed in to change notification settings - Fork 461
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
refactor(catppuccin)!: reimplement basic hl groups #676
base: main
Are you sure you want to change the base?
Conversation
This commit reimplemented basic hl groups and link Treesitter's highlights to these basic hl groups to reduce maintenance pressure
6c8ee1d
to
fc9fee2
Compare
Could you port this PR to upstream if you have time? With better highlights decisions and specific language highlights (C/C++) are really well tested, I feel like it would be a waste to remain in a config repo. Also our semantic tokens highlights reputation are under fire right now (Everything is just blue 😅) and the current treesitter highlights aren't much better, for example |
@nullchilly Sure! In fact, I plan to open a PR upstream after this PR is merged. The plan is to adjust those treesitter highlights according to the color palette document & existing color presets and attempt to reduce maintenance pressure by linking as many hl groups as possible. But this PR may take more time than expected, as I'm trying to disentangle this "intertwined puzzle" - IMHO upstream support for treesitter is a bit chaotic. Since catppuccin/nvim@f079dda, it has gone through a lot of repairs, which makes the current integration look like a compromise btw old and new palettes1 (e.g., This PR will try to make the hl groups self-explanatory, but we definitely need to receive more feedback and make several changeovers before merging this upstream 😄 Footnotes |
I'm placing the "what's changed" table here to help me better store & track the changes I've made. Perhaps it can also help facilitate some discussions 👍 Sometimes builtin constants are not just constants literally, so it was given another color for differentiation.
|
Hey @Jint-lzxy |
@CharlesChiuGit It'll probably stay here longer tho, as I'm still working on it upstream lol |
WIP but mostly completed. Ref: #627.
TODO:
gitcommit*
)