patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied
Problem: ":verbose pwd" does not mention 'autochdir' was applied.
Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
diff --git a/src/netbeans.c b/src/netbeans.c
index 5bd36a4..003cc53 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -2656,7 +2656,10 @@
nb_send(buffer, "netbeans_file_opened");
if (p_acd && vim_chdirfile(bufp->b_ffname, "auto") == OK)
+ {
+ last_chdir_reason = "netbeans";
shorten_fnames(TRUE);
+ }
}
/*