diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-30 10:16:22 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-30 10:16:22 +0000 |
commit | 8d1df9834c96bd464c309383afdd8edea0576ae0 (patch) | |
tree | 1836353cc58c9aeede832bb18872c37af312f377 /crates/ra_lsp_server/Cargo.toml | |
parent | 75acc25c5a5df2ac0a8978be2972187ee974a754 (diff) | |
parent | 0cb270e75d9501dff9ac6633354ae12d9c0f4260 (diff) |
Merge #358
358: Add support for formatting entire document with rustfmt r=matklad a=aleksanb
Attempting to format a document when rustfmt isn't installed will result
in an error being returned to the frontend. An alternative
implementation would be returning zero replacements.
Part of https://github.com/rust-analyzer/rust-analyzer/issues/160.
Co-authored-by: Aleksander Vognild Burkow <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/Cargo.toml')
-rw-r--r-- | crates/ra_lsp_server/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml index c53106a62..f8f91e5e7 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/ra_lsp_server/Cargo.toml | |||
@@ -33,6 +33,7 @@ ra_text_edit = { path = "../ra_text_edit" } | |||
33 | ra_analysis = { path = "../ra_analysis" } | 33 | ra_analysis = { path = "../ra_analysis" } |
34 | gen_lsp_server = { path = "../gen_lsp_server" } | 34 | gen_lsp_server = { path = "../gen_lsp_server" } |
35 | ra_vfs = { path = "../ra_vfs" } | 35 | ra_vfs = { path = "../ra_vfs" } |
36 | tools = { path = "../tools" } | ||
36 | 37 | ||
37 | [dev-dependencies] | 38 | [dev-dependencies] |
38 | tempdir = "0.3.7" | 39 | tempdir = "0.3.7" |