# Change default diagnostics_max_severity to 'hint' \(\#31229\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9f7987c532dc12a8495db718ff99f2831349a2df

Requested commit: 9f7987c532dc12a8495db718ff99f2831349a2df

Commit: 9f7987c532dc12a8495db718ff99f2831349a2df

Tree: 2ca350405f113300291b073250571ea56f8b1ac5

Author: Bo Lopker

Committer: GitHub

## Message

```
Change default diagnostics_max_severity to 'hint' (#31229)

Closes https://github.com/blopker/codebook/issues/79

Recently, the setting `diagnostics_max_severity` was changed from `null`
to `warning`in this PR: https://github.com/zed-industries/zed/pull/30316
This change has caused the various spell checking extensions to not work
as expected by default, most of which use the `hint` diagnostic. This
goes against user expectations when installing one of these extensions.

Without `hint` as the default, extension authors will either need to
change the diagnostic levels, or instruct users to add
`diagnostics_max_severity` to their settings as an additional step,
neither of which is a great user experience.

This PR sets the default `hint`, which is closer to the original
behavior before the aforementioned PR.

Release Notes:

- Changed `diagnostics_max_severity` to `hint` instead of `warning` by
default

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
```

## Parents

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

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