Asyncomplete Omni.vim Save

Omni completion source for asyncomplete.vim

Project README

asyncomplete-omni.vim

Omni completion source for asyncomplete.vim

Install

Plug 'prabirshrestha/asyncomplete.vim'
Plug 'yami-beta/asyncomplete-omni.vim'

Register asyncomplete-omni.vim

autocmd User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({
\ 'name': 'omni',
\ 'allowlist': ['*'],
\ 'blocklist': ['c', 'cpp', 'html'],
\ 'completor': function('asyncomplete#sources#omni#completor'),
\ 'config': {
\   'show_source_kind': 1,
\ },
\ }))

Config

show_source_kind

Add o kind label to 'menu'

Note

If omnifunc change cursor position, asyncomplete-omni.vim does not work correctly.

For example, c, cpp, HTML are blacklisted above because Vim's default omnifunc repositions the cursor leading to quirky behaviour. You can reenable if you are using a more appropriate omnifunc.

Not work correctly

  • rubycomplete#Complete
Open Source Agenda is not affiliated with "Asyncomplete Omni.vim" Project. README Source: yami-beta/asyncomplete-omni.vim
Stars
40
Open Issues
3
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating