mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
clipboard: fix import on macOS
This commit is contained in:
parent
33510d60f4
commit
511f37c736
@ -63,7 +63,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
|
|||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
|
pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
|
||||||
use command::exists;
|
use provider::command::exists;
|
||||||
|
|
||||||
if exists("pbcopy") && exists("pbpaste") {
|
if exists("pbcopy") && exists("pbpaste") {
|
||||||
command_provider! {
|
command_provider! {
|
||||||
|
Loading…
Reference in New Issue
Block a user