# asyncomplete-omni.vim **Repository Path**: fanjunwei/asyncomplete-omni.vim ## Basic Information - **Project Name**: asyncomplete-omni.vim - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-02 - **Last Updated**: 2022-02-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # asyncomplete-omni.vim Omni completion source for [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim) ## Install ```vim Plug 'prabirshrestha/asyncomplete.vim' Plug 'yami-beta/asyncomplete-omni.vim' ``` ## Register asyncomplete-omni.vim ```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`