aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/usercmd.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-11-01 15:39:49 +0100
committerGitHub <noreply@github.com>2022-11-01 07:39:49 -0700
commitb05d1943f063c382ea96b76d250877bc58297314 (patch)
treea5f4ccbbaa27981a0135f201565b360b8ac31405 /src/nvim/usercmd.c
parent582c044dbe2b2bc4c74212b5ed8660c20fa1fd99 (diff)
downloadrneovim-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/usercmd.c')
-rw-r--r--src/nvim/usercmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/usercmd.c b/src/nvim/usercmd.c
index 1cb3b18345..408cdc93a7 100644
--- a/src/nvim/usercmd.c
+++ b/src/nvim/usercmd.c
@@ -36,8 +36,7 @@ static char e_no_such_user_defined_command_in_current_buffer_str[]
/// List of names for completion for ":command" with the EXPAND_ flag.
/// Must be alphabetical for completion.
-static const char *command_complete[] =
-{
+static const char *command_complete[] = {
[EXPAND_ARGLIST] = "arglist",
[EXPAND_AUGROUP] = "augroup",
[EXPAND_BEHAVE] = "behave",
@@ -86,8 +85,7 @@ static struct {
cmd_addr_T expand;
char *name;
char *shortname;
-} addr_type_complete[] =
-{
+} addr_type_complete[] = {
{ ADDR_ARGUMENTS, "arguments", "arg" },
{ ADDR_LINES, "lines", "line" },
{ ADDR_LOADED_BUFFERS, "loaded_buffers", "load" },