aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/log.c
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-12-02 22:21:15 +0100
committerGitHub <noreply@github.com>2019-12-02 22:21:15 +0100
commit22b52dd462e5dc9d5429305215bfb20aa20517c5 (patch)
treee949639a97f7a5e6e39922bf521c5071c78986b2 /src/nvim/log.c
parent56be9fbde1ec27fd8ca3fdb8eb6adb94b8c33b53 (diff)
downloadrneovim-22b52dd462e5dc9d5429305215bfb20aa20517c5.tar.gz
rneovim-22b52dd462e5dc9d5429305215bfb20aa20517c5.tar.bz2
rneovim-22b52dd462e5dc9d5429305215bfb20aa20517c5.zip
log_init: call log_path_init (#11501)
This has to be done after `init_homedir` for XDG default and `set_init_1` for lookup from env, which could be done earlier likely (to help with https://github.com/neovim/neovim/issues/10937), but this keeps it in sync with Vim. Fixes https://github.com/neovim/neovim/issues/11499.
Diffstat (limited to 'src/nvim/log.c')
-rw-r--r--src/nvim/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/log.c b/src/nvim/log.c
index db36611933..225e40cdb4 100644
--- a/src/nvim/log.c
+++ b/src/nvim/log.c
@@ -93,6 +93,7 @@ static bool log_path_init(void)
void log_init(void)
{
uv_mutex_init(&mutex);
+ log_path_init();
}
void log_lock(void)