refactor(IWYU): fix includes for cmdhist.h (#26324)

This commit is contained in:
zeertzjq
2023-11-30 22:48:15 +08:00
committed by GitHub
parent 884a83049b
commit a6f26c86cb
16 changed files with 53 additions and 63 deletions

View File

@@ -2,16 +2,17 @@
#include <stdbool.h>
#include "nvim/ex_cmds_defs.h"
#include "nvim/buffer_defs.h" // IWYU pragma: keep
#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
#include "nvim/macros_defs.h"
#include "nvim/pos_defs.h"
#include "nvim/pos_defs.h" // IWYU pragma: keep
// Value set from 'diffopt'.
EXTERN int diff_context INIT( = 6); // context for folds
EXTERN int diff_foldcolumn INIT( = 2); // 'foldcolumn' for diff mode
EXTERN int diff_context INIT( = 6); ///< context for folds
EXTERN int diff_foldcolumn INIT( = 2); ///< 'foldcolumn' for diff mode
EXTERN bool diff_need_scrollbind INIT( = false);
EXTERN bool need_diff_redraw INIT( = false); // need to call diff_redraw()
EXTERN bool need_diff_redraw INIT( = false); ///< need to call diff_redraw()
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "diff.h.generated.h"