Skip to content

Commit

Permalink
Update patch inline with comments.
Browse files Browse the repository at this point in the history
This removed the trait and dynamic nature of the clipboard system
instead using the configuration enum as the driver of the clipboard
system.
  • Loading branch information
AlfGalf committed Oct 5, 2024
1 parent 860f002 commit 5b9b076
Show file tree
Hide file tree
Showing 6 changed files with 445 additions and 547 deletions.
1 change: 0 additions & 1 deletion helix-stdx/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod env;
pub mod faccess;
pub mod nonempty;
pub mod path;
pub mod rope;
59 changes: 0 additions & 59 deletions helix-stdx/src/nonempty.rs

This file was deleted.

8 changes: 1 addition & 7 deletions helix-term/src/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,7 @@ pub fn clipboard() -> std::io::Result<()> {
}
};

match config
.editor
.clipboard_provider
.get_provider()
.name()
.as_ref()
{
match config.editor.clipboard_provider.name().as_ref() {
"none" => {
writeln!(
stdout,
Expand Down
Loading

0 comments on commit 5b9b076

Please sign in to comment.