# Improve C\+\+ highlighting for sized type specifiers \(\#25362\) · gitcafe/zed

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

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

Visibility: public

Requested revision: dabc35b257fe8433d4d8b82c0476e2f70191b979

Requested commit: dabc35b257fe8433d4d8b82c0476e2f70191b979

Commit: dabc35b257fe8433d4d8b82c0476e2f70191b979

Tree: 597fc94ff6a86d225171791a40ce24836a950853

Author: Arseny Kapoulkine

Committer: GitHub

## Message

```
Improve C++ highlighting for sized type specifiers (#25362)

For consistency, sized type specifiers should be highlighted the same
way as primitive types, to make sure 'unsigned', 'int' and 'unsigned
int' are all the same color. [A previous
change](https://github.com/zed-industries/zed/pull/18016) moved
primitive types from `@keyword` to `@type`, and this PR adjusts the
sized type specifier to follow suit.

Before this change:


![image](https://github.com/user-attachments/assets/d0982ced-882f-4477-b716-f07ac4a72170)

After this change:


![image](https://github.com/user-attachments/assets/2fb6a7e7-061b-46e1-a4e3-e906e1e87bd8)

Release Notes:

- Improved C++ syntax highlighting for sized type specifiers.
```

## Parents

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

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