Adapted neocomplete integration.

This commit is contained in:
Holger Rapp 2014-03-05 08:55:16 +01:00
parent a23911f7f9
commit 1ce706e3a9

View File

@ -1,10 +1,11 @@
let s:save_cpo = &cpo
set cpo&vim
let s:source = { let s:source = {
\ 'name' : 'ultisnips', \ 'name' : 'ultisnips',
\ 'kind' : 'manual', \ 'kind' : 'keyword',
\ 'rank' : 8,
\ 'mark' : '[U]', \ 'mark' : '[U]',
\ 'min_pattern_length' : 1,
\ 'is_volatile' : 1,
\ 'rank' : 10,
\} \}
function! s:source.gather_candidates(context) function! s:source.gather_candidates(context)
@ -14,3 +15,6 @@ endfunction
function! neocomplete#sources#ultisnips#define() function! neocomplete#sources#ultisnips#define()
return s:source return s:source
endfunction endfunction
let &cpo = s:save_cpo
unlet s:save_cpo