# languages: Recognize \.clang-format as YAML \(\#43469\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 98e369285bd8c38dba9f50ca77b2e0dcb86811c5

Requested commit: 98e369285bd8c38dba9f50ca77b2e0dcb86811c5

Commit: 98e369285bd8c38dba9f50ca77b2e0dcb86811c5

Tree: 00d79a444d938ee3a897d859c6a9e27f46cf56ba

Author: Peter Tripp

Committer: GitHub

## Message

```
languages: Recognize .clang-format as YAML (#43469)

Clang-Format uses uses a YAML config file format.

Use YAML language by default for `.clang-format` and `_clang-format`
filenames.
([source](https://clang.llvm.org/docs/ClangFormatStyleOptions.html))
Add `#yaml-language-server: $schema` to `.clang-format` example in C
language docs.

Release Notes:

- Added support for identifying. `.clang-format` files as YAML by
default
```

## Parents

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

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