Improved C syntax highlighting for Vim

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • c.vim

    Improved C syntax highlighting for vim

  • Please, report issue.[0]

    [0] https://github.com/pulkomandy/c.vim/issues

  • nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

  • 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

  • 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.

    WorkOS logo
  • rainbow

    Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration. (by luochen1990)

  • 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.

  • programming-for-kids

    book for parents and kids.

  • 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...

  • clangtags

  • I extracted it out of one of my projects and put it into its own git repo here: https://github.com/DaveP1776/clangtags

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts