aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro+github@gmail.com>2018-03-16 07:29:20 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-03-16 07:29:20 +0100
commitcca407b43e62d5e1abdfc59ae47b0e24eacc5807 (patch)
tree921e3768697da50d072b5bebfbe1e2dc987155b5 /src
parent0093c25dd3795972b953f9914cc33fc38c5d9dbc (diff)
downloadrneovim-cca407b43e62d5e1abdfc59ae47b0e24eacc5807.tar.gz
rneovim-cca407b43e62d5e1abdfc59ae47b0e24eacc5807.tar.bz2
rneovim-cca407b43e62d5e1abdfc59ae47b0e24eacc5807.zip
DirChanged: support <buffer> (#8140)
Diffstat (limited to 'src')
-rw-r--r--src/nvim/file_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c
index c6f2166dab..3272ce81bc 100644
--- a/src/nvim/file_search.c
+++ b/src/nvim/file_search.c
@@ -1560,7 +1560,7 @@ void do_autocmd_dirchanged(char *new_dir, CdScope scope)
tv_dict_set_keys_readonly(dict);
apply_autocmds(EVENT_DIRCHANGED, (char_u *)buf, (char_u *)new_dir, false,
- NULL);
+ curbuf);
tv_dict_clear(dict);