diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-03 17:36:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-03 17:36:27 +0100 |
commit | b7407d3fc9496f9048fb65ab17b5ba3444965c0e (patch) | |
tree | ea713a63c3771ff35b52aadef755102b55cc377d /src/proto/misc2.pro | |
parent | ddb349369d107c14fad9c38baf2f0e2b8514fbf0 (diff) | |
download | vim-git-b7407d3fc9496f9048fb65ab17b5ba3444965c0e.tar.gz |
patch 8.0.1459: cannot handle change of directoryv8.0.1459
Problem: Cannot handle change of directory.
Solution: Add the DirChanged autocommand event. (Andy Massimino,
closes #888) Avoid changing directory for 'autochdir' too often.
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index 68c40daa1..6999683c7 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -82,7 +82,7 @@ int call_shell(char_u *cmd, int opt); int get_real_state(void); int after_pathsep(char_u *b, char_u *p); int same_directory(char_u *f1, char_u *f2); -int vim_chdirfile(char_u *fname); +int vim_chdirfile(char_u *fname, char *trigger_autocmd); int vim_stat(const char *name, stat_T *stp); char_u *parse_shape_opt(int what); int get_shape_idx(int mouse); |