From 369156a18fc528e94b6a7e49bb87ac94b8b0054d Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 2 Nov 2022 11:00:10 +0800 Subject: Add asyncomplete-omni --- .vim/after/plugin/asyncomplete.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.vim/after/plugin/asyncomplete.vim') diff --git a/.vim/after/plugin/asyncomplete.vim b/.vim/after/plugin/asyncomplete.vim index a7d1974..9ede076 100644 --- a/.vim/after/plugin/asyncomplete.vim +++ b/.vim/after/plugin/asyncomplete.vim @@ -45,3 +45,14 @@ au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#source \ 'max_buffer_size': 5000000, \ }, \ })) + +packadd asyncomplete-omni.vim +autocmd User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({ +\ 'name': 'omni', +\ 'allowlist': ['*'], +\ 'blocklist': [], +\ 'completor': function('asyncomplete#sources#omni#completor'), +\ 'config': { +\ 'show_source_kind': 1, +\ }, +\ })) -- cgit v1.2.3