robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Sanzhar Kuandykrefactor(:restart): unnecessary console allocation on Windows #4091957dc215230

master
862 B31 linesraw
1#pragma once
2
3#include <stddef.h>
4#include <stdint.h>
5#include <uv.h>
6
7#include "nvim/cmdexpand_defs.h"
8#include "nvim/garray_defs.h"
9#include "nvim/os/os_defs.h"
10#include "nvim/os/stdpaths_defs.h"
11#include "nvim/types_defs.h"
12
13// True if when running in a test environment ($NVIM_TEST).
14// TODO(justinmk): Can we use v:testing instead?
15EXTERN bool nvim_testing INIT( = false);
16extern char *default_vim_dir;
17extern char *default_vimruntime_dir;
18extern char *default_lib_dir;
19
20// IWYU pragma: begin_exports
21#include "os/env.h.generated.h"
22#include "os/mem.h.generated.h"
23#include "os/stdpaths.h.generated.h"
24#include "os/users.h.generated.h"
25// IWYU pragma: end_exports
26
27#define ENV_LOGFILE "NVIM_LOG_FILE"
28#define ENV_LOGFILE_WANT "__NVIM_LOG_FILE_WANT"
29#define ENV_NVIM "NVIM"
30#define ENV_STARTREASON "__NVIM_STARTREASON"
31#define ENV_TEST_LOG "__NVIM_TEST_LOG"