aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-05 04:14:54 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-06-05 04:14:54 -0400
commitcc8a2e7aad37cc4ba1439ffe82685698d358eb19 (patch)
treebb0908d2a42a905bde6f06af97ef27b42cc19bd2
parentd0bd02388148aea18a1ef07a6701e51992959d09 (diff)
downloadrneovim-cc8a2e7aad37cc4ba1439ffe82685698d358eb19.tar.gz
rneovim-cc8a2e7aad37cc4ba1439ffe82685698d358eb19.tar.bz2
rneovim-cc8a2e7aad37cc4ba1439ffe82685698d358eb19.zip
log: Rename to $NVIM_LOG_FILE
-rw-r--r--src/nvim/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/log.c b/src/nvim/log.c
index 53fe7e02e4..c31af6b287 100644
--- a/src/nvim/log.c
+++ b/src/nvim/log.c
@@ -11,7 +11,7 @@
#include "nvim/os/time.h"
/// First location of the log file used by log_path_init()
-#define USR_LOG_FILE "$NVIM_LOG_FILE_PATH"
+#define USR_LOG_FILE "$NVIM_LOG_FILE"
/// Fall back location of the log file used by log_path_init()
#define USR_LOG_FILE_2 "$HOME" _PATHSEPSTR ".nvimlog"
@@ -29,8 +29,8 @@ static uv_mutex_t mutex;
///
/// Tries to use #USR_LOG_FILE, then falls back #USR_LOG_FILE_2. Path to log
/// file is cached, so only the first call has effect, unless first call was not
-/// successfull. To make initialization not succeed either a bug in expand_env()
-/// is needed or both `$NVIM_LOG_FILE_PATH` and `$HOME` environment variables
+/// successful. To make initialization not succeed either a bug in expand_env()
+/// is needed or both `$NVIM_LOG_FILE` and `$HOME` environment variables
/// undefined.
///
/// @return true if path was initialized, false otherwise.