Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
rainbow
Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration. (by luochen1990)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Please, report issue.[0]
[0] https://github.com/pulkomandy/c.vim/issues
It is not, but there's an installation and configuration guide here [0] that I found pretty easy to follow
[0] https://github.com/nvim-treesitter/nvim-treesitter
The parentheses color are not caused by this script, but by my usage of rainbow parentheses (some variant of https://github.com/luochen1990/rainbow) which I have configured for my usual light background vim theme.
I did not spend time to set up a more empty vim configuration to take the screenshots.
The script does not introduce any new colors, it just changes what is highlighted as cType.
It does change the color of parentheses for "if" statements to be the same color as the keyword. I am undecided if I should keep that or not. Opinions from people not using rainbow or similar plugins are welcome.
I can argue is easier to read without highlighting.
I think colors break the flow of code in unintended ways, and mistreat comments (either overvalue with some pink color or undervalue with some toned down gray), and almost all themes make keywords extremely important.
[1] https://github.com/jackdoe/programming-for-kids/issues/3#iss...
I extracted it out of one of my projects and put it into its own git repo here: https://github.com/DaveP1776/clangtags