mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
commit
860a0194a4
@ -1294,14 +1294,15 @@ void enter_buffer(buf_T *buf)
|
||||
redraw_later(NOT_VALID);
|
||||
}
|
||||
|
||||
/*
|
||||
* Change to the directory of the current buffer.
|
||||
*/
|
||||
// Change to the directory of the current buffer.
|
||||
// Don't do this while still starting up.
|
||||
void do_autochdir(void)
|
||||
{
|
||||
if (p_acd) {
|
||||
if (curbuf->b_ffname != NULL && vim_chdirfile(curbuf->b_ffname) == OK) {
|
||||
shorten_fnames(TRUE);
|
||||
if (starting == 0
|
||||
&& curbuf->b_ffname != NULL
|
||||
&& vim_chdirfile(curbuf->b_ffname) == OK) {
|
||||
shorten_fnames(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ static int included_patches[] = {
|
||||
// 1404 NA
|
||||
// 1403 NA
|
||||
// 1402 NA
|
||||
// 1401,
|
||||
1401,
|
||||
// 1400 NA
|
||||
// 1399 NA
|
||||
// 1398 NA
|
||||
|
Loading…
Reference in New Issue
Block a user