neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

os.h (730B)


      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?
     15 EXTERN bool nvim_testing INIT( = false);
     16 extern char *default_vim_dir;
     17 extern char *default_vimruntime_dir;
     18 extern 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_NVIM "NVIM"