aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.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/syntax.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/syntax.c')
-rw-r--r--src/nvim/syntax.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 4934168acf..e5962cd273 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -3344,8 +3344,7 @@ static int last_matchgroup;
static void syn_list_one(const int id, const bool syncing, const bool link_only)
{
bool did_header = false;
- static struct name_list namelist1[] =
- {
+ static struct name_list namelist1[] = {
{ HL_DISPLAY, "display" },
{ HL_CONTAINED, "contained" },
{ HL_ONELINE, "oneline" },
@@ -3358,8 +3357,7 @@ static void syn_list_one(const int id, const bool syncing, const bool link_only)
{ HL_CONCEALENDS, "concealends" },
{ 0, NULL }
};
- static struct name_list namelist2[] =
- {
+ static struct name_list namelist2[] = {
{ HL_SKIPWHITE, "skipwhite" },
{ HL_SKIPNL, "skipnl" },
{ HL_SKIPEMPTY, "skipempty" },
@@ -5238,8 +5236,7 @@ struct subcommand {
void (*func)(exarg_T *, int); // function to call
};
-static struct subcommand subcommands[] =
-{
+static struct subcommand subcommands[] = {
{ "case", syn_cmd_case },
{ "clear", syn_cmd_clear },
{ "cluster", syn_cmd_cluster },