aboutsummaryrefslogtreecommitdiff
path: root/plugin/write_mkpath.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-01 18:11:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-01 18:11:52 +1200
commit336d46e800cfa51b5923ca7263c2eedd5b4c7cfb (patch)
tree117a0e56d7bc693fc20d8c084f0e862296db9643 /plugin/write_mkpath.vim
parentMerge branch 'hotfix/v1.1.2' (diff)
parentBump VERSION (diff)
downloadvim-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.vim4
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