Provide Ultisnips autocompletion source for asyncomplete.vim
Plug 'prabirshrestha/asyncomplete.vim'
if has('python3')
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'prabirshrestha/asyncomplete-ultisnips.vim'
endif
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.
All the credit goes to the following projects