Skip to content

prabirshrestha/asyncomplete-ultisnips.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

provides ultisnips autocomplete for asyncomplete.vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published