aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/write_mkpath.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/write_mkpath.vim b/autoload/write_mkpath.vim
index 2503651..42cb49a 100644
--- a/autoload/write_mkpath.vim
+++ b/autoload/write_mkpath.vim
@@ -36,9 +36,9 @@ function! write_mkpath#(path) abort
silent keepalt file %
endif
- " Re-run the BufWritePre hooks, now that the directory exists and a useable
+ " Re-run the BufWritePre hook, now that the directory exists and a useable
" filename has been set; this will start this function again from the top,
" but stop when it sees the directory now exists
- doautocmd BufWritePre
+ doautocmd write_mkpath BufWritePre
endfunction