aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-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