mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
vim-patch:7.4.1716
Problem: 'autochdir' doesn't work for the first file. (Rob Hoelz)
Solution: Call DO_AUTOCHDIR after startup. (Christian Brabandt)
baec5c1768
This commit is contained in:
@@ -507,6 +507,9 @@ int main(int argc, char **argv)
|
||||
no_wait_return = FALSE;
|
||||
starting = 0;
|
||||
|
||||
// 'autochdir' has been postponed.
|
||||
do_autochdir();
|
||||
|
||||
/* start in insert mode */
|
||||
if (p_im)
|
||||
need_start_insertmode = TRUE;
|
||||
|
@@ -86,6 +86,7 @@ static int included_patches[] = {
|
||||
1755,
|
||||
1753,
|
||||
1728,
|
||||
1716,
|
||||
1695,
|
||||
1654,
|
||||
1652,
|
||||
|
Reference in New Issue
Block a user