Monday, September 12, 2022

Re: Gvim taking a minute or more to start

Looking at the source code for neovim (I'll check gvim later) I see the
following in a file called funcs.c that evaluates the environment
variables among other things:

/// According to comments in src/win/process.c of libuv, Windows has a few
/// "essential" environment variables.
static const char *required_env_vars[] = {
#ifdef WIN32
  "HOMEDRIVE",
  "HOMEPATH",
  "LOGONSERVER",
  "PATH",
  "SYSTEMDRIVE",
  "SYSTEMROOT",
  "TEMP",
  "USERDOMAIN",
  "USERNAME",
  "USERPROFILE",
  "WINDIR",

No comments: