patch 9.0.0934: various code formatting issues
Problem: Various code formatting issues.
Solution: Improve code formatting.
diff --git a/src/main.c b/src/main.c
index 3a050cf..ca28eca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1298,16 +1298,15 @@
#endif
// Trigger CursorMoved if the cursor moved.
- if (!finish_op && (
- has_cursormoved()
+ if (!finish_op && (has_cursormoved()
#ifdef FEAT_PROP_POPUP
- || popup_visible
+ || popup_visible
#endif
#ifdef FEAT_CONCEAL
- || curwin->w_p_cole > 0
+ || curwin->w_p_cole > 0
#endif
- )
- && !EQUAL_POS(last_cursormoved, curwin->w_cursor))
+ )
+ && !EQUAL_POS(last_cursormoved, curwin->w_cursor))
{
if (has_cursormoved())
apply_autocmds(EVENT_CURSORMOVED, NULL, NULL,
@@ -1401,10 +1400,8 @@
}
#endif
- /*
- * Before redrawing, make sure w_topline is correct, and w_leftcol
- * if lines don't wrap, and w_skipcol if lines wrap.
- */
+ // Before redrawing, make sure w_topline is correct, and w_leftcol
+ // if lines don't wrap, and w_skipcol if lines wrap.
update_topline();
validate_cursor();