comparison src/netbeans.c @ 26171:fa8161b003f6 v8.2.3617

patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied Commit: https://github.com/vim/vim/commit/0526815c15170a5926e1008600ec29d42d8b64c2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 18 18:53:45 2021 +0000 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 https://github.com/vim/vim/issues/9142)
author Bram Moolenaar <Bram@vim.org>
date Thu, 18 Nov 2021 20:00:06 +0100
parents d7e1cf30728c
children a2e6da79274d
comparison
equal deleted inserted replaced
26170:3e5f506a2165 26171:fa8161b003f6
2654 vim_free(q); 2654 vim_free(q);
2655 nbdebug(("EVT: %s", buffer)); 2655 nbdebug(("EVT: %s", buffer));
2656 2656
2657 nb_send(buffer, "netbeans_file_opened"); 2657 nb_send(buffer, "netbeans_file_opened");
2658 if (p_acd && vim_chdirfile(bufp->b_ffname, "auto") == OK) 2658 if (p_acd && vim_chdirfile(bufp->b_ffname, "auto") == OK)
2659 {
2660 last_chdir_reason = "netbeans";
2659 shorten_fnames(TRUE); 2661 shorten_fnames(TRUE);
2662 }
2660 } 2663 }
2661 2664
2662 /* 2665 /*
2663 * Tell netbeans that a file was deleted or wiped out. 2666 * Tell netbeans that a file was deleted or wiped out.
2664 */ 2667 */