diff options
author | Kirill Bulatov <[email protected]> | 2020-12-01 23:02:15 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-12-07 21:41:08 +0000 |
commit | 2a7be4afb000d97948bb7f11bcd074fc1e11716e (patch) | |
tree | 8d8e7dadaca7a24e4a40ab3976baf19876d6a7e0 /crates/completion/src/item.rs | |
parent | 47464e556c160ce705c2e3c84f501ad4e8dbb123 (diff) |
Better support client completion resolve caps
Diffstat (limited to 'crates/completion/src/item.rs')
-rw-r--r-- | crates/completion/src/item.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/completion/src/item.rs b/crates/completion/src/item.rs index 0e59f73cb..dc67df075 100644 --- a/crates/completion/src/item.rs +++ b/crates/completion/src/item.rs | |||
@@ -12,6 +12,7 @@ use crate::config::SnippetCap; | |||
12 | /// `CompletionItem` describes a single completion variant in the editor pop-up. | 12 | /// `CompletionItem` describes a single completion variant in the editor pop-up. |
13 | /// It is basically a POD with various properties. To construct a | 13 | /// It is basically a POD with various properties. To construct a |
14 | /// `CompletionItem`, use `new` method and the `Builder` struct. | 14 | /// `CompletionItem`, use `new` method and the `Builder` struct. |
15 | #[derive(Clone)] | ||
15 | pub struct CompletionItem { | 16 | pub struct CompletionItem { |
16 | /// Used only internally in tests, to check only specific kind of | 17 | /// Used only internally in tests, to check only specific kind of |
17 | /// completion (postfix, keyword, reference, etc). | 18 | /// completion (postfix, keyword, reference, etc). |