- Fixed neosnippet source.
This commit is contained in:
parent
dbf1930768
commit
92a53f748e
@ -28,7 +28,7 @@ let s:save_cpo = &cpo
|
|||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
let s:source = {
|
let s:source = {
|
||||||
\ 'name' : 'snippets_complete',
|
\ 'name' : 'neosnippet',
|
||||||
\ 'kind' : 'manual',
|
\ 'kind' : 'manual',
|
||||||
\ 'min_pattern_length' :
|
\ 'min_pattern_length' :
|
||||||
\ g:neocomplcache_auto_completion_start_length,
|
\ g:neocomplcache_auto_completion_start_length,
|
||||||
@ -47,7 +47,7 @@ function! s:source.get_complete_position(context) "{{{
|
|||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
|
|
||||||
function! s:source.gather_candidates(context) "{{{
|
function! s:source.gather_candidates(context) "{{{
|
||||||
let candidates = neosnippet#get_snippets()
|
let candidates = values(neosnippet#get_snippets())
|
||||||
|
|
||||||
for snippet in candidates
|
for snippet in candidates
|
||||||
let snippet.dup = 1
|
let snippet.dup = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user