aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/world.rs
diff options
context:
space:
mode:
authorEmil Lauridsen <[email protected]>2019-12-25 19:23:44 +0000
committerEmil Lauridsen <[email protected]>2019-12-25 19:26:06 +0000
commit0cdbd0814958e174c5481d6bf16bd2a7e53ec981 (patch)
treea58277467e67ebdf8584ad2edf398ca630d6fd35 /crates/ra_lsp_server/src/world.rs
parent71d2d81dcc879bbb7898df11ac00578e93b27ab5 (diff)
Keep VSCode config mostly backwards compatible
Diffstat (limited to 'crates/ra_lsp_server/src/world.rs')
-rw-r--r--crates/ra_lsp_server/src/world.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/ra_lsp_server/src/world.rs b/crates/ra_lsp_server/src/world.rs
index 47c3823fb..39a07c01a 100644
--- a/crates/ra_lsp_server/src/world.rs
+++ b/crates/ra_lsp_server/src/world.rs
@@ -35,9 +35,10 @@ pub struct Options {
35 pub supports_location_link: bool, 35 pub supports_location_link: bool,
36 pub line_folding_only: bool, 36 pub line_folding_only: bool,
37 pub max_inlay_hint_length: Option<usize>, 37 pub max_inlay_hint_length: Option<usize>,
38 pub cargo_check_enable: bool, 38 pub cargo_watch_enable: bool,
39 pub cargo_check_command: Option<String>, 39 pub cargo_watch_args: Vec<String>,
40 pub cargo_check_args: Vec<String>, 40 pub cargo_watch_command: String,
41 pub cargo_watch_all_targets: bool,
41} 42}
42 43
43/// `WorldState` is the primary mutable state of the language server 44/// `WorldState` is the primary mutable state of the language server