diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-11-01 15:39:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 07:39:49 -0700 |
commit | b05d1943f063c382ea96b76d250877bc58297314 (patch) | |
tree | a5f4ccbbaa27981a0135f201565b360b8ac31405 /src/nvim/normal.c | |
parent | 582c044dbe2b2bc4c74212b5ed8660c20fa1fd99 (diff) | |
download | rneovim-b05d1943f063c382ea96b76d250877bc58297314.tar.gz rneovim-b05d1943f063c382ea96b76d250877bc58297314.tar.bz2 rneovim-b05d1943f063c382ea96b76d250877bc58297314.zip |
build(lint): remove clint.py rules for braces #20880
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
See also https://github.com/neovim/neovim/pull/18563
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 6bddd34367..d142af555a 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -144,8 +144,7 @@ static const struct nv_cmd { nv_func_T cmd_func; ///< function for this command uint16_t cmd_flags; ///< NV_ flags int16_t cmd_arg; ///< value for ca.arg -} nv_cmds[] = -{ +} nv_cmds[] = { { NUL, nv_error, 0, 0 }, { Ctrl_A, nv_addsub, 0, 0 }, { Ctrl_B, nv_page, NV_STS, BACKWARD }, @@ -4896,7 +4895,7 @@ static void nv_pcmark(cmdarg_T *cap) fm = get_changelist(curbuf, curwin, (int)cap->count1); } else { fm = get_jumplist(curwin, (int)cap->count1); - flags |= KMarkNoContext | kMarkJumpList; + flags |= KMarkNoContext | kMarkJumpList; } // Changelist and jumplist have their own error messages. Therefore avoid // calling nv_mark_move_to() when not found to avoid incorrect error |