diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-12-20 15:19:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 15:19:35 -0500 |
commit | 423474caa88f658477ed9f2df1099b7037166c3a (patch) | |
tree | 44d203094c1b9f6857653157a100a98b3a88f33f /cli/lsp/diagnostics.rs | |
parent | fcca54d3ba2b5c1f9f45b70fde46ba07bde4d07b (diff) |
fix(lsp/format): language formatter used should be based on language id (#17148)
Closes #11897
Diffstat (limited to 'cli/lsp/diagnostics.rs')
-rw-r--r-- | cli/lsp/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs index 58156bad2..2723b44db 100644 --- a/cli/lsp/diagnostics.rs +++ b/cli/lsp/diagnostics.rs @@ -1010,7 +1010,7 @@ mod tests { documents.open( specifier.clone(), *version, - language_id.clone(), + *language_id, (*source).into(), ); } |