From 655339bbf842ce1c54dabce7b1b9872b9ee8eb79 Mon Sep 17 00:00:00 2001 From: keith Date: Tue, 25 Aug 2020 00:31:29 -0700 Subject: [PATCH] fix build for mac and linux --- src/bridge/handler.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bridge/handler.rs b/src/bridge/handler.rs index dd33a8d..892a2a9 100644 --- a/src/bridge/handler.rs +++ b/src/bridge/handler.rs @@ -31,9 +31,11 @@ impl Handler for NeovimHandler { "setting_changed" => { SETTINGS.handle_changed_notification(arguments); } + #[cfg(windows)] "neovide.register_right_click" => { BRIDGE.queue_command(UiCommand::RegisterRightClick); } + #[cfg(windows)] "neovide.unregister_right_click" => { BRIDGE.queue_command(UiCommand::UnregisterRightClick); }