Skip to content

Commit 6dce350

Browse files
authored
lsp: Update typos check to use info level. (#298)
1 parent 2117847 commit 6dce350

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

autocorrect-lsp/src/typocheck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub(crate) fn check_typos(text: &str) -> Vec<Diagnostic> {
4444

4545
let diagnostic = Diagnostic {
4646
range,
47-
severity: Some(lsp_types::DiagnosticSeverity::WARNING),
47+
severity: Some(lsp_types::DiagnosticSeverity::INFORMATION),
4848
code: None,
4949
code_description: None,
5050
source: Some(DIAGNOSTIC_SOURCE_TYPO.to_string()),

0 commit comments

Comments
 (0)