mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:9.0.0124: code has more indent than needed
Problem: Code has more indent than needed.
Solution: Use continue and return statements. (closes vim/vim#10824)
101d57b34b
This commit is contained in:
@@ -2922,10 +2922,11 @@ void check_scrollbind(linenr_T topline_diff, long leftcol_diff)
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
curwin = wp;
|
||||
curbuf = curwin->w_buffer;
|
||||
// skip original window and windows with 'noscrollbind'
|
||||
// skip original window and windows with 'noscrollbind'
|
||||
if (curwin == old_curwin || !curwin->w_p_scb) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// do the vertical scroll
|
||||
if (want_ver) {
|
||||
if (old_curwin->w_p_diff && curwin->w_p_diff) {
|
||||
|
Reference in New Issue
Block a user