# grammars: Highlight C23 \`constexpr\` keyword \(\#63833\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1870e269ad88802147f2baec3086abb67d17260a

Requested commit: 1870e269ad88802147f2baec3086abb67d17260a

Commit: 1870e269ad88802147f2baec3086abb67d17260a

Tree: aec87d199e0fed3fdf7866c6b47c5d629b59b9f8

Author: Jesse Cooper

Committer: GitHub

## Message

```
grammars: Highlight C23 `constexpr` keyword (#63833)

# Objective

- the keyword `constexpr` was added in c23, see
[here](https://en.wikipedia.org/wiki/C23_(C_standard_revision)#Constants)

## Solution

- added `constexpr` to keyword list in c

## Testing

- compiled and tested it to see `constexpr` is now highlighted

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- added `constexpr` keyword to c language
```

## Parents

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

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