# docs: Update "checkOnSave" to "check" \(\#29212\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e26bb05567452cfc71fa6aedc1862360d6d22474

Requested commit: e26bb05567452cfc71fa6aedc1862360d6d22474

Commit: e26bb05567452cfc71fa6aedc1862360d6d22474

Tree: b07eb9f9c453fe9fd1c14f2dd2c8d60d5e218ca1

Author: Doods

Committer: GitHub

## Message

```
docs: Update "checkOnSave" to "check" (#29212)

As-salamu alaykum,

[I recently started suffering from the same issue as this
user](https://users.rust-lang.org/t/rust-analyzer-checkonsave-command-works-but-shows-invalid-config-warning/128652),
which is caused by something the docs of Zed promote, so I decided to
help fix it.

>[anutrix](https://users.rust-lang.org/u/anutrix)
> When I add "rust-analyzer.checkOnSave.command": "clippy" I get:
> 
> invalid config value: /checkOnSave: invalid type: map, expected a
boolean;
> Extension Info: Version 0.3.2433, Server Version 0.3.2433-standalone
(66e3b5819e 2025-04-21)
> and in Language Server logs:
> 
> [Error - 3:26:22 AM] Server process exited with code 0.
> Clippy works fine but these warnings stays and extensions shows
yellow/unstable in VSCode:
> 
> Additionally, if I replace
> 
>     "rust-analyzer.checkOnSave.command": "clippy"
> with
> 
>     "rust-analyzer.checkOnSave": true,
>     "rust-analyzer.checkOnSave.command": "clippy"

> [jplatte](https://users.rust-lang.org/u/jplatte)
> From the documentation, it seems like
rust-analyzer.checkOnSave.command does not exist. It should be
rust-analyzer.check.command.
```

## Parents

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

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