From 7019c5572c87ab40c4a29cf82132ac94cea37639 Mon Sep 17 00:00:00 2001 From: tracyone Date: Fri, 21 Oct 2022 21:36:03 +0800 Subject: [PATCH] fix issue Signed-off-by: tracyone --- rc/autocmd.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/autocmd.vim b/rc/autocmd.vim index a77267f..fc499a2 100644 --- a/rc/autocmd.vim +++ b/rc/autocmd.vim @@ -11,7 +11,7 @@ augroup misc_group autocmd VimEnter * call te#feat#run_vim_enter_setting(0) endif autocmd FileChangedRO * setlocal noreadonly | call te#utils#EchoWarning('Changing readonly file ...') - if g:complete_plugin_type.cur_val == 'asyncomplete.vim' + if g:complete_plugin_type.cur_val == 'asyncomplete.vim' && g:feat_enable_complete == 1 autocmd InsertCharPre * call AsyncOpenCompleteMenu() endif augroup END