Skip to content

Instantly share code, notes, and snippets.

@mitsuse
Created September 14, 2014 11:10
Show Gist options
  • Save mitsuse/500dfbca76b18069f515 to your computer and use it in GitHub Desktop.
Save mitsuse/500dfbca76b18069f515 to your computer and use it in GitHub Desktop.
A neocomplete source for people who live in Kyushu.
let s:source = {
\ 'name': 'kyushu',
\}
function! s:source.gather_candidates(context)
let l:candSeq = [
\ 'Fukuoka',
\ 'Saga',
\ 'Nagasaki',
\ 'Oita',
\ 'Kumamoto',
\ 'Miyazaki',
\ 'Kagoshima',
\ 'Okinawa',
\]
return l:candSeq
endfunction
function! neocomplete#sources#kyushu#define()
return s:source
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment