diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 18:09:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 18:09:09 +1200 |
commit | b34b8a2b3131c760599f4217a185ebd51d9e4e28 (patch) | |
tree | 3bed66f8921aadc1ccabae5a4e97f4ba50839627 /plugin | |
parent | Merge branch 'hotfix/v1.1.2' into develop (diff) | |
download | vim-write-mkpath-b34b8a2b3131c760599f4217a185ebd51d9e4e28.tar.gz vim-write-mkpath-b34b8a2b3131c760599f4217a185ebd51d9e4e28.zip |
Throw away the path absolution hooks
Too awkward, not worth it, especially the mess it makes of alternate
files.
Diffstat (limited to 'plugin')
-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 |