diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 18:11:52 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 18:11:52 +1200 |
commit | 336d46e800cfa51b5923ca7263c2eedd5b4c7cfb (patch) | |
tree | 117a0e56d7bc693fc20d8c084f0e862296db9643 /plugin/write_mkpath.vim | |
parent | Merge branch 'hotfix/v1.1.2' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-write-mkpath-336d46e800cfa51b5923ca7263c2eedd5b4c7cfb.tar.gz vim-write-mkpath-336d46e800cfa51b5923ca7263c2eedd5b4c7cfb.zip |
Merge branch 'release/v2.0.0'v2.0.0
* release/v2.0.0:
Wrap and quote attribution in README and :help doc
Throw away the path absolution hooks
Diffstat (limited to 'plugin/write_mkpath.vim')
-rw-r--r-- | plugin/write_mkpath.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/write_mkpath.vim b/plugin/write_mkpath.vim index c7c9543..ea53191 100644 --- a/plugin/write_mkpath.vim +++ b/plugin/write_mkpath.vim @@ -12,8 +12,6 @@ endif " Check path to every file before it's saved augroup write_mkpath autocmd! - autocmd BufNewFile * - \ call write_mkpath#New(expand('<afile>')) autocmd BufWritePre * - \ call write_mkpath#Write(expand('<afile>')) + \ call write_mkpath#(expand('<afile>')) augroup END |