diff options
Diffstat (limited to '0001-Remove-unnecessary-braces-around-if-condition.patch')
-rw-r--r-- | 0001-Remove-unnecessary-braces-around-if-condition.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/0001-Remove-unnecessary-braces-around-if-condition.patch b/0001-Remove-unnecessary-braces-around-if-condition.patch deleted file mode 100644 index 2eb29daee44e..000000000000 --- a/0001-Remove-unnecessary-braces-around-if-condition.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/src/bridge/ui_commands.rs b/src/bridge/ui_commands.rs -index 77f6774..79767b1 100644 ---- a/src/bridge/ui_commands.rs -+++ b/src/bridge/ui_commands.rs -@@ -42,7 +42,7 @@ impl UiCommand { - action, - position: (grid_x, grid_y), - } => { -- if { EDITOR.lock().mouse_enabled } { -+ if EDITOR.lock().mouse_enabled { - nvim.input_mouse("left", &action, "", 0, grid_y as i64, grid_x as i64) - .await - .expect("Mouse Input Failed"); -@@ -52,14 +52,14 @@ impl UiCommand { - direction, - position: (grid_x, grid_y), - } => { -- if { EDITOR.lock().mouse_enabled } { -+ if EDITOR.lock().mouse_enabled { - nvim.input_mouse("wheel", &direction, "", 0, grid_y as i64, grid_x as i64) - .await - .expect("Mouse Scroll Failed"); - } - } - UiCommand::Drag(grid_x, grid_y) => { -- if { EDITOR.lock().mouse_enabled } { -+ if EDITOR.lock().mouse_enabled { - nvim.input_mouse("left", "drag", "", 0, grid_y as i64, grid_x as i64) - .await - .expect("Mouse Drag Failed"); |