Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
Signed-off-by: tracyone <[email protected]>
  • Loading branch information
tracyone committed Oct 21, 2022
1 parent a0fad4f commit 7019c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rc/autocmd.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7019c55

Please sign in to comment.