mirror of
https://github.com/neovim/neovim.git
synced 2026-08-31 03:13:48 +00:00
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:
committed by
GitHub
parent
9734f33bc7
commit
ad2cf23435
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user