diff options
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); } |