aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/api/ui.c')
-rw-r--r--src/nvim/api/ui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c
index 18befd498f..4f56371633 100644
--- a/src/nvim/api/ui.c
+++ b/src/nvim/api/ui.c
@@ -257,9 +257,7 @@ void nvim_ui_try_resize_grid(uint64_t channel_id, Integer grid, Integer width,
return;
}
- // TODO(utkarshme): Check if grid exists
-
- ui_grid_resize((GridHandle)grid, (int)width, (int)height);
+ ui_grid_resize((GridHandle)grid, (int)width, (int)height, error);
}
/// Pushes data into UI.UIData, to be consumed later by remote_ui_flush().