Skip to content

Instantly share code, notes, and snippets.

@mitsuse
Created September 13, 2014 22:00
Show Gist options
  • Save mitsuse/152a4a872c88e9451335 to your computer and use it in GitHub Desktop.
Save mitsuse/152a4a872c88e9451335 to your computer and use it in GitHub Desktop.
A template for neocomplete source
let s:source = {
\ 'name': '{{_name_}}',
\ 'mark': '[{{_name_}}]',
\}
function! s:source.gather_candidates(context)
return []
endfunction
function! neocomplete#sources#{{_name_}}#define()
return s:source
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment