From 5f996e36d102beeb76848021fe0ded5107c8f24d Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sat, 13 Apr 2019 12:50:36 +0200 Subject: options: properly reset directories on 'autochdir' (#9894) Fixes https://github.com/neovim/neovim/issues/9892 --- src/nvim/api/vim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/api') diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index f56d37af90..b8bd3dd63a 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -690,7 +690,7 @@ void nvim_set_current_dir(String dir, Error *err) return; } - post_chdir(kCdScopeGlobal); + post_chdir(kCdScopeGlobal, true); try_end(err); } -- cgit