refactor(build): remove INCLUDE_GENERATED_DECLARATIONS guards

These are not needed after #35129 but making uncrustify still play nice
with them was a bit tricky.

Unfortunately `uncrustify --update-config-with-doc` breaks strings
with backslashes. This issue has been reported upstream,
and in the meanwhile auto-update on every single run has been disabled.
This commit is contained in:
bfredl
2025-08-03 11:16:30 +02:00
parent d19d2b4491
commit 442f297c63
373 changed files with 423 additions and 1172 deletions

View File

@@ -30,9 +30,7 @@
#include "nvim/types_defs.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "cmdhist.c.generated.h"
#endif
#include "cmdhist.c.generated.h"
static histentry_T *(history[HIST_COUNT]) = { NULL, NULL, NULL, NULL, NULL };
static int hisidx[HIST_COUNT] = { -1, -1, -1, -1, -1 }; ///< lastused entry