mirror of
https://github.com/neovim/neovim.git
synced 2026-08-25 00:21:55 +00:00
Remove `export` pramgas from defs headers as it causes IWYU to believe that the definitions from the defs headers comes from main header, which is not what we really want.
28 lines
629 B
C
28 lines
629 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <uv.h>
|
|
|
|
#include "nvim/cmdexpand_defs.h"
|
|
#include "nvim/garray_defs.h"
|
|
#include "nvim/os/os_defs.h"
|
|
#include "nvim/os/stdpaths_defs.h"
|
|
#include "nvim/types_defs.h"
|
|
|
|
extern char *default_vim_dir;
|
|
extern char *default_vimruntime_dir;
|
|
extern char *default_lib_dir;
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
// IWYU pragma: begin_exports
|
|
# include "os/env.h.generated.h"
|
|
# include "os/mem.h.generated.h"
|
|
# include "os/stdpaths.h.generated.h"
|
|
# include "os/users.h.generated.h"
|
|
// IWYU pragma: end_exports
|
|
#endif
|
|
|
|
#define ENV_LOGFILE "NVIM_LOG_FILE"
|
|
#define ENV_NVIM "NVIM"
|