25 lines
640 B
VimL
25 lines
640 B
VimL
|
"=============================================================================
|
||
|
" FILE: dictionary.vim
|
||
|
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
||
|
"=============================================================================
|
||
|
|
||
|
if exists('g:loaded_neocomplete_dictionary')
|
||
|
finish
|
||
|
endif
|
||
|
|
||
|
let s:save_cpo = &cpo
|
||
|
set cpo&vim
|
||
|
|
||
|
" Add commands. "{{{
|
||
|
command! -nargs=? -complete=customlist,neocomplete#filetype_complete
|
||
|
\ NeoCompleteDictionaryMakeCache
|
||
|
\ call neocomplete#sources#dictionary#remake_cache(<q-args>)
|
||
|
"}}}
|
||
|
|
||
|
let &cpo = s:save_cpo
|
||
|
unlet s:save_cpo
|
||
|
|
||
|
let g:loaded_neocomplete_dictionary = 1
|
||
|
|
||
|
" vim: foldmethod=marker
|