diff options
author | Jeremy Kolb <[email protected]> | 2019-12-23 14:33:49 +0000 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2019-12-23 14:33:49 +0000 |
commit | 019fab2261a7a439c317269d2a40dc7858a90d48 (patch) | |
tree | 0769551b1979ee6e1332b9d1fedf14393046e836 | |
parent | ce07a2daa9e53aa86a769f8641b14c2878444fbc (diff) |
lsp-types 0.67
-rw-r--r-- | Cargo.lock | 13 | ||||
-rw-r--r-- | crates/ra_lsp_server/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_lsp_server/src/caps.rs | 1 |
3 files changed, 12 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock index e724c1a76..9f44599fd 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -66,6 +66,11 @@ dependencies = [ | |||
66 | ] | 66 | ] |
67 | 67 | ||
68 | [[package]] | 68 | [[package]] |
69 | name = "base64" | ||
70 | version = "0.11.0" | ||
71 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
72 | |||
73 | [[package]] | ||
69 | name = "bit-set" | 74 | name = "bit-set" |
70 | version = "0.5.1" | 75 | version = "0.5.1" |
71 | source = "registry+https://github.com/rust-lang/crates.io-index" | 76 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -620,9 +625,10 @@ dependencies = [ | |||
620 | 625 | ||
621 | [[package]] | 626 | [[package]] |
622 | name = "lsp-types" | 627 | name = "lsp-types" |
623 | version = "0.66.0" | 628 | version = "0.67.0" |
624 | source = "registry+https://github.com/rust-lang/crates.io-index" | 629 | source = "registry+https://github.com/rust-lang/crates.io-index" |
625 | dependencies = [ | 630 | dependencies = [ |
631 | "base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||
626 | "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | 632 | "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", |
627 | "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", | 633 | "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", |
628 | "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", | 634 | "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1050,7 +1056,7 @@ dependencies = [ | |||
1050 | "jod-thread 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1056 | "jod-thread 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1051 | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 1057 | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", |
1052 | "lsp-server 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1058 | "lsp-server 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1053 | "lsp-types 0.66.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1059 | "lsp-types 0.67.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1054 | "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", | 1060 | "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", |
1055 | "ra_ide 0.1.0", | 1061 | "ra_ide 0.1.0", |
1056 | "ra_prof 0.1.0", | 1062 | "ra_prof 0.1.0", |
@@ -1773,6 +1779,7 @@ dependencies = [ | |||
1773 | "checksum backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)" = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea" | 1779 | "checksum backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)" = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea" |
1774 | "checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491" | 1780 | "checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491" |
1775 | "checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" | 1781 | "checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" |
1782 | "checksum base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" | ||
1776 | "checksum bit-set 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e84c238982c4b1e1ee668d136c510c67a13465279c0cb367ea6baf6310620a80" | 1783 | "checksum bit-set 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e84c238982c4b1e1ee668d136c510c67a13465279c0cb367ea6baf6310620a80" |
1777 | "checksum bit-vec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f59bbe95d4e52a6398ec21238d31577f2b28a9d86807f06ca59d191d8440d0bb" | 1784 | "checksum bit-vec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f59bbe95d4e52a6398ec21238d31577f2b28a9d86807f06ca59d191d8440d0bb" |
1778 | "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" | 1785 | "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" |
@@ -1842,7 +1849,7 @@ dependencies = [ | |||
1842 | "checksum lock_api 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e57b3997725d2b60dbec1297f6c2e2957cc383db1cebd6be812163f969c7d586" | 1849 | "checksum lock_api 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e57b3997725d2b60dbec1297f6c2e2957cc383db1cebd6be812163f969c7d586" |
1843 | "checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" | 1850 | "checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" |
1844 | "checksum lsp-server 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ba36405bd742139ab79c246ca5adb7fde2fe1a0f495e2c8e2f607b607dedb12" | 1851 | "checksum lsp-server 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ba36405bd742139ab79c246ca5adb7fde2fe1a0f495e2c8e2f607b607dedb12" |
1845 | "checksum lsp-types 0.66.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49a2dddfe2791cbf4b5eff5a581e45becf47a24b128a62de80e7cc135bf50064" | 1852 | "checksum lsp-types 0.67.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0e7728b2c5a0e15fbb530bbd8b56520d19d56d89491a2a5e8b875f104e745b76" |
1846 | "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" | 1853 | "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" |
1847 | "checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" | 1854 | "checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" |
1848 | "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" | 1855 | "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" |
diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml index 60cbc38a9..030e9033c 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/ra_lsp_server/Cargo.toml | |||
@@ -14,7 +14,7 @@ serde_json = "1.0.34" | |||
14 | serde = { version = "1.0.83", features = ["derive"] } | 14 | serde = { version = "1.0.83", features = ["derive"] } |
15 | crossbeam-channel = "0.4" | 15 | crossbeam-channel = "0.4" |
16 | log = "0.4.3" | 16 | log = "0.4.3" |
17 | lsp-types = { version = "0.66.0", features = ["proposed"] } | 17 | lsp-types = { version = "0.67.0", features = ["proposed"] } |
18 | rustc-hash = "1.0" | 18 | rustc-hash = "1.0" |
19 | parking_lot = "0.10.0" | 19 | parking_lot = "0.10.0" |
20 | jod-thread = "0.1.0" | 20 | jod-thread = "0.1.0" |
diff --git a/crates/ra_lsp_server/src/caps.rs b/crates/ra_lsp_server/src/caps.rs index eeca67ee1..ceb4c4259 100644 --- a/crates/ra_lsp_server/src/caps.rs +++ b/crates/ra_lsp_server/src/caps.rs | |||
@@ -46,6 +46,7 @@ pub fn server_capabilities() -> ServerCapabilities { | |||
46 | more_trigger_character: Some(vec![".".to_string(), ">".to_string()]), | 46 | more_trigger_character: Some(vec![".".to_string(), ">".to_string()]), |
47 | }), | 47 | }), |
48 | selection_range_provider: Some(SelectionRangeProviderCapability::Simple(true)), | 48 | selection_range_provider: Some(SelectionRangeProviderCapability::Simple(true)), |
49 | semantic_highlighting: None, | ||
49 | folding_range_provider: Some(FoldingRangeProviderCapability::Simple(true)), | 50 | folding_range_provider: Some(FoldingRangeProviderCapability::Simple(true)), |
50 | rename_provider: Some(RenameProviderCapability::Options(RenameOptions { | 51 | rename_provider: Some(RenameProviderCapability::Options(RenameOptions { |
51 | prepare_provider: Some(true), | 52 | prepare_provider: Some(true), |