mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00

It is less error-prone than manually defining header guards. Pretty much all compilers support it even if it's not part of the C standard.
27 lines
559 B
C
27 lines
559 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#include "nvim/api/keysets.h"
|
|
#include "nvim/api/private/defs.h"
|
|
#include "nvim/cmdexpand_defs.h"
|
|
#include "nvim/eval/typval_defs.h"
|
|
#include "nvim/ex_cmds_defs.h"
|
|
#include "nvim/mapping_defs.h"
|
|
#include "nvim/option_defs.h"
|
|
#include "nvim/regexp_defs.h"
|
|
#include "nvim/types.h"
|
|
|
|
/// Used for the first argument of do_map()
|
|
enum {
|
|
MAPTYPE_MAP = 0,
|
|
MAPTYPE_UNMAP = 1,
|
|
MAPTYPE_NOREMAP = 2,
|
|
};
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "mapping.h.generated.h"
|
|
#endif
|