diff options
| author | jdhao <jdhao@hotmail.com> | 2022-01-13 20:27:48 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-01-13 20:27:48 +0800 |
| commit | 146ef5d0b86ca777f0ecd4eb5982f8beb4ea6e12 (patch) | |
| tree | 1c439c29473576c26080d72825afeb5d6be43c41 /core/autocommands.vim | |
| parent | 6fd71557872092d6585ae8ab86605b5573ad6061 (diff) | |
use lua for may_create_dir
Diffstat (limited to 'core/autocommands.vim')
| -rw-r--r-- | core/autocommands.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim index c3943da..d929637 100644 --- a/core/autocommands.vim +++ b/core/autocommands.vim @@ -121,5 +121,5 @@ augroup END augroup auto_create_dir autocmd! - autocmd BufWritePre * call utils#may_create_dir(expand("<afile>")) + autocmd BufWritePre * lua require('utils').may_create_dir() augroup END |
