mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
refactor(IWYU): fix includes for cmdhist.h (#26324)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "nvim/cmdexpand_defs.h" // IWYU pragma: export
|
||||
#include "nvim/cmdexpand_defs.h" // IWYU pragma: keep
|
||||
#include "nvim/eval/typval_defs.h"
|
||||
#include "nvim/ex_cmds_defs.h" // IWYU pragma: export
|
||||
#include "nvim/os/time.h"
|
||||
#include "nvim/types_defs.h"
|
||||
#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
|
||||
#include "nvim/os/time_defs.h"
|
||||
#include "nvim/types_defs.h" // IWYU pragma: keep
|
||||
|
||||
/// Present history tables
|
||||
typedef enum {
|
||||
@@ -17,8 +17,7 @@ typedef enum {
|
||||
HIST_DEBUG, ///< Debug commands.
|
||||
} HistoryType;
|
||||
|
||||
/// Number of history tables
|
||||
#define HIST_COUNT (HIST_DEBUG + 1)
|
||||
enum { HIST_COUNT = HIST_DEBUG + 1, }; ///< Number of history tables
|
||||
|
||||
/// History entry definition
|
||||
typedef struct hist_entry {
|
||||
|
Reference in New Issue
Block a user