aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-10-20 15:10:33 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-23 20:06:21 +0200
commit5f03a1eaabfc8de2b3a9c666fcd604763f41e152 (patch)
tree2a4e38bf7ac44749bd876d5e4d822f8ac604c2ae /src/nvim/window.c
parente606604322815abd3dc91a5595a0aa976a9aded7 (diff)
downloadrneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.gz
rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.bz2
rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.zip
build(lint): remove unnecessary clint.py rules
Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py.
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 8e572b7986..60fe0ade8e 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -3447,20 +3447,20 @@ static frame_T *win_altframe(win_T *win, tabpage_T *tp)
// By default the next window will get the space that was abandoned by this
// window
frame_T *target_fr = frp->fr_next;
- frame_T *other_fr = frp->fr_prev;
+ frame_T *other_fr = frp->fr_prev;
// If this is part of a column of windows and 'splitbelow' is true then the
// previous window will get the space.
if (frp->fr_parent != NULL && frp->fr_parent->fr_layout == FR_COL && p_sb) {
target_fr = frp->fr_prev;
- other_fr = frp->fr_next;
+ other_fr = frp->fr_next;
}
// If this is part of a row of windows, and 'splitright' is true then the
// previous window will get the space.
if (frp->fr_parent != NULL && frp->fr_parent->fr_layout == FR_ROW && p_spr) {
target_fr = frp->fr_prev;
- other_fr = frp->fr_next;
+ other_fr = frp->fr_next;
}
// If 'wfh' or 'wfw' is set for the target and not for the alternate