mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
765d82a657
commit
1cfb14aa97
@@ -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))
|
||||
|
Reference in New Issue
Block a user