refactor: move cmdline completion types to cmdexpand_defs.h (#25465)

This commit is contained in:
zeertzjq
2023-10-02 10:45:33 +08:00
committed by GitHub
parent 9ce1623837
commit 09a17f91d0
61 changed files with 246 additions and 189 deletions

View File

@@ -1,6 +1,7 @@
#ifndef NVIM_CMDEXPAND_H
#define NVIM_CMDEXPAND_H
#include "nvim/cmdexpand_defs.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/ex_getln.h"
#include "nvim/garray.h"
@@ -41,9 +42,6 @@ enum {
BUF_DIFF_FILTER = 0x2000,
};
/// Type used by ExpandGeneric()
typedef char *(*CompleteListItemGetter)(expand_T *, int);
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "cmdexpand.h.generated.h"
#endif