diff options
Diffstat (limited to 'support/texlab/crates/completion/src/lib.rs')
-rw-r--r-- | support/texlab/crates/completion/src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/support/texlab/crates/completion/src/lib.rs b/support/texlab/crates/completion/src/lib.rs index 7fc5bba174..5bfd94d944 100644 --- a/support/texlab/crates/completion/src/lib.rs +++ b/support/texlab/crates/completion/src/lib.rs @@ -72,12 +72,12 @@ impl<'a> CompletionItemData<'a> { Self::Citation(data) => &data.entry.name.text, Self::Environment(data) => data.name, Self::GlossaryEntry(data) => &data.name, - Self::Label(data) => data.name, + Self::Label(data) => &data.name, Self::Color(name) => name, Self::ColorModel(name) => name, - Self::File(name) => &name, - Self::Directory(name) => &name, - Self::Argument(data) => &data.0.name, + Self::File(name) => name, + Self::Directory(name) => name, + Self::Argument(data) => data.0.name, Self::Package(name) => name, Self::DocumentClass(name) => name, Self::EntryType(data) => data.0.name, |