aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/register.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/register.rs')
-rw-r--r--helix-view/src/register.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/register.rs b/helix-view/src/register.rs
index 61912378..3d1849a6 100644
--- a/helix-view/src/register.rs
+++ b/helix-view/src/register.rs
@@ -215,6 +215,10 @@ impl Registers {
)
}
}
+
+ pub fn clipboard_provider_name(&self) -> Cow<str> {
+ self.clipboard_provider.name()
+ }
}
fn read_from_clipboard<'a>(