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