# cpp: Highlight sized type specifiers as keywords \(\#12751\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/87845a349d5803aeec8768c9ea9ab18783c7023b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 87845a349d5803aeec8768c9ea9ab18783c7023b

Requested commit: 87845a349d5803aeec8768c9ea9ab18783c7023b

Commit: 87845a349d5803aeec8768c9ea9ab18783c7023b

Tree: 606e270f70b93580255d794039a5326ac225daf4

Author: Arseny Kapoulkine

Committer: GitHub

## Message

```
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
```

## Parents

- [953393f6ce3d0c7ae9e458f942ef64c7d144fc60](https://git.cafe/gitcafe/zed/commit/953393f6ce3d0c7ae9e458f942ef64c7d144fc60?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/87845a349d5803aeec8768c9ea9ab18783c7023b?format=markdown)
