Skip to content
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

c/c++ highlighting: various tweaks #4282

Merged
merged 1 commit into from
Oct 15, 2022

Commits on Oct 14, 2022

  1. c/c++ highlighting: various tweaks

    - treat `restrict`/`_Atomic` like `const`/`volatile` => @keyword.storage.modifier
    - highlight `unsigned int` as builtin => @type.builtin
    - recognize `static_cast` and friends => @Keyword
    - `template` is a kind of entity like `typename` => @keyword.storage.type
    - many declaration modifiers have nothing to do with storage/types
      (explicit, friend, access specifiers, inline in C++) => @Keyword
    - fix floats highlighted as integer => @constant.numeric
    sam-mccall committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    548acf1 View commit details
    Browse the repository at this point in the history