diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/os/env.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/os/env.c b/src/nvim/os/env.c index 1697d5edb2..a73d753e46 100644 --- a/src/nvim/os/env.c +++ b/src/nvim/os/env.c @@ -615,8 +615,7 @@ char *vim_getenv(const char *name) vim_path = (char *)p_hf; } -#ifdef WIN32 - // Find runtime path relative to the nvim binary i.e. ../share/runtime + // Find runtime path relative to the nvim binary: ../share/nvim/runtime if (vim_path == NULL) { char exe_name[MAXPATHL]; size_t exe_name_len = MAXPATHL; @@ -633,7 +632,6 @@ char *vim_getenv(const char *name) } } } -#endif if (vim_path != NULL) { // remove the file name |