UltiSnips/autoload/neocomplete/sources/ultisnips.vim
Holger Rapp c017806b1d Added preliminary support for neocomplete.
Patch by lervag. Closes #228
2014-03-05 08:14:53 +01:00

17 lines
378 B
VimL

let s:source = {
\ 'name' : 'ultisnips',
\ 'kind' : 'manual',
\ 'mark' : '[U]',
\ 'min_pattern_length' : 1,
\ 'is_volatile' : 1,
\ 'rank' : 10,
\}
function! s:source.gather_candidates(context)
return keys(UltiSnips#SnippetsInCurrentScope())
endfunction
function! neocomplete#sources#ultisnips#define()
return s:source
endfunction