diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 16:24:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 16:24:49 +1200 |
commit | 2e8372a1c589ccd03207010c7777e155f2f7823a (patch) | |
tree | 4b3bd44aecf86a171aef6ad02ab76949ab2e07d5 /autoload/write_mkpath.vim | |
parent | Merge branch 'hotfix/v2.1.1' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-write-mkpath-master.tar.gz vim-write-mkpath-master.zip |
* release/v2.2.0:
Limit BufWritePre running to plugin augroup
Remove trailing whitespace
Diffstat (limited to 'autoload/write_mkpath.vim')
-rw-r--r-- | autoload/write_mkpath.vim | 4 |
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 |