asyncomplete-ultisnips.vim icon indicating copy to clipboard operation
asyncomplete-ultisnips.vim copied to clipboard

provides ultisnips autocomplete for asyncomplete.vim

UltiSnips source for asyncomplete.vim

Provide Ultisnips autocompletion source for asyncomplete.vim

Installing

Plug 'prabirshrestha/asyncomplete.vim'
if has('python3')
    Plug 'SirVer/ultisnips'
    Plug 'honza/vim-snippets'
    Plug 'prabirshrestha/asyncomplete-ultisnips.vim'
endif

Registration

if has('python3')
    let g:UltiSnipsExpandTrigger="<c-e>"
    call asyncomplete#register_source(asyncomplete#sources#ultisnips#get_source_options({
        \ 'name': 'ultisnips',
        \ 'allowlist': ['*'],
        \ 'completor': function('asyncomplete#sources#ultisnips#completor'),
        \ }))
endif

Note: If you are using tab in asyncomplete.vim make sure to change the g:UltiSnipsExpandTrigger to something else besides tab to avoid conflicts.

Credits

All the credit goes to the following projects