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/vim.h | |
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/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1276,6 +1276,7 @@ enum auto_event EVENT_CMDWINLEAVE, /* before leaving the cmdline window */ EVENT_COLORSCHEME, /* after loading a colorscheme */ EVENT_COMPLETEDONE, /* after finishing insert complete */ + EVENT_DIRCHANGED, /* after changing directory as a result of user cmd */ EVENT_FILEAPPENDPOST, /* after appending to a file */ EVENT_FILEAPPENDPRE, /* before appending to a file */ EVENT_FILEAPPENDCMD, /* append to a file using command */ |