diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-12 12:11:10 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-12 14:39:32 +0100 |
commit | d9fcbc2cfb5f20f63a2870624ce48a58cf918ea8 (patch) | |
tree | 08987d560a896e3703b82212ac06d28772a497d0 /src/nvim/ex_docmd.c | |
parent | 99a1a58c66b9bc56d98ee7a8d249d594669e9573 (diff) | |
download | rneovim-d9fcbc2cfb5f20f63a2870624ce48a58cf918ea8.tar.gz rneovim-d9fcbc2cfb5f20f63a2870624ce48a58cf918ea8.tar.bz2 rneovim-d9fcbc2cfb5f20f63a2870624ce48a58cf918ea8.zip |
DirChanged: trigger when switching scopes
Closes #6054
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 5ab97d9b9a..745419a98f 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6962,7 +6962,6 @@ void post_chdir(CdScope scope) char curdir[MAXPATHL]; if (os_dirname((char_u *)curdir, MAXPATHL) != OK) { - EMSG2(_(e_intern2), "post_chdir()"); return; } switch (scope) { @@ -6981,7 +6980,7 @@ void post_chdir(CdScope scope) assert(false); } - shorten_fnames(TRUE); + shorten_fnames(true); do_autocmd_dirchanged(curdir, scope); } |