From 146ef5d0b86ca777f0ecd4eb5982f8beb4ea6e12 Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 13 Jan 2022 20:27:48 +0800 Subject: use lua for may_create_dir --- core/autocommands.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/autocommands.vim') 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("")) + autocmd BufWritePre * lua require('utils').may_create_dir() augroup END -- cgit v1.2.3