Skip to content

prabirshrestha/asyncomplete-ultisnips.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4cca371 · Jan 13, 2023

History

10 Commits
Oct 4, 2020
Jan 28, 2017
Jan 13, 2023
Oct 4, 2020

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