fix(style): drop clang-format #39514

Problem: C formatting is enforced in CI via uncrustify, but when working
on C code clangd formats on save via clang-format, forcing users to
manually run `make formatc` after they're done.

Solution: disable clang-format.
This commit is contained in:
Riccardo Mazzarini
2026-05-01 16:01:40 +02:00
committed by GitHub
parent 9734f33bc7
commit ad2cf23435
3 changed files with 1 additions and 76 deletions

View File

@@ -57,7 +57,6 @@ char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS;
#include "version.c.generated.h"
// clang-format off
static const int vim_versions[] = { 801, 802, 900, 901, 902 };
static const int num_patches[] = { 2331, 3825, 1582, 1630, 221 };
@@ -3962,7 +3961,6 @@ static const int *included_patchsets[] = {
// 0
},
};
// clang-format on
/// Compares a version string to the current Nvim version.
///