diff options
| author | dundargoc <gocdundar@gmail.com> | 2023-10-20 15:10:33 +0200 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-10-23 20:06:21 +0200 |
| commit | 5f03a1eaabfc8de2b3a9c666fcd604763f41e152 (patch) | |
| tree | 2a4e38bf7ac44749bd876d5e4d822f8ac604c2ae /src/nvim/move.c | |
| parent | e606604322815abd3dc91a5595a0aa976a9aded7 (diff) | |
| download | rneovim-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/move.c')
| -rw-r--r-- | src/nvim/move.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index da75c79e0b..c4af2b6701 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -1119,8 +1119,8 @@ void f_screenpos(typval_T *argvars, typval_T *rettv, EvalFuncData fptr) } pos_T pos = { - .lnum = (linenr_T)tv_get_number(&argvars[1]), - .col = (colnr_T)tv_get_number(&argvars[2]) - 1, + .lnum = (linenr_T)tv_get_number(&argvars[1]), + .col = (colnr_T)tv_get_number(&argvars[2]) - 1, .coladd = 0 }; if (pos.lnum > wp->w_buffer->b_ml.ml_line_count) { @@ -2694,9 +2694,9 @@ void do_check_cursorbind(void) prev_curwin = curwin; prev_cursor = curwin->w_cursor; - linenr_T line = curwin->w_cursor.lnum; - colnr_T col = curwin->w_cursor.col; - colnr_T coladd = curwin->w_cursor.coladd; + linenr_T line = curwin->w_cursor.lnum; + colnr_T col = curwin->w_cursor.col; + colnr_T coladd = curwin->w_cursor.coladd; colnr_T curswant = curwin->w_curswant; int set_curswant = curwin->w_set_curswant; win_T *old_curwin = curwin; |