Skip to content

yami-beta/asyncomplete-omni.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Omni completion source for asyncomplete.vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published