ZIm/crates/languages/src/cpp
Arseny Kapoulkine 87845a349d
cpp: Highlight sized type specifiers as keywords (#12751)
Without this, `unsigned` or `unsigned int` is not highlighted properly:
`int` is a primitive_type but `unsigned` is a sized_type_specifier. This
is already handled in C as both are part of @type highlight group.

Before:

![image](https://github.com/zed-industries/zed/assets/1106629/7210b769-9dff-428c-9e4f-55b652f91674)

After:

![image](https://github.com/zed-industries/zed/assets/1106629/8661c412-30f0-4b44-a4a2-1860a0b56a4e)

Release Notes:

- N/A
2024-06-08 13:26:10 +03:00
..
brackets.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
config.toml chore: added inl to cpp config (#12710) 2024-06-06 10:23:36 +03:00
embedding.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
highlights.scm cpp: Highlight sized type specifiers as keywords (#12751) 2024-06-08 13:26:10 +03:00
indents.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
injections.scm Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
outline.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
overrides.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00