From 1cfb14aa972ccf3235ac67f07b7db1175b7c5384 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Mon, 9 Jan 2023 19:04:23 +0000 Subject: patch 9.0.1166: code is indented more than necessary Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11792) --- src/fold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fold.c') diff --git a/src/fold.c b/src/fold.c index 61bffb5d01..589727d989 100644 --- a/src/fold.c +++ b/src/fold.c @@ -516,7 +516,7 @@ foldCheckClose(void) if (*p_fcl == NUL) return; - // can only be "all" right now + // 'foldclose' can only be "all" right now checkupdate(curwin); if (checkCloseRec(&curwin->w_folds, curwin->w_cursor.lnum, (int)curwin->w_p_fdl)) -- cgit v1.2.3