dictionary.vim 640 B

123456789101112131415161718192021222324
  1. "=============================================================================
  2. " FILE: dictionary.vim
  3. " AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
  4. "=============================================================================
  5. if exists('g:loaded_neocomplete_dictionary')
  6. finish
  7. endif
  8. let s:save_cpo = &cpo
  9. set cpo&vim
  10. " Add commands. "{{{
  11. command! -nargs=? -complete=customlist,neocomplete#filetype_complete
  12. \ NeoCompleteDictionaryMakeCache
  13. \ call neocomplete#sources#dictionary#remake_cache(<q-args>)
  14. "}}}
  15. let &cpo = s:save_cpo
  16. unlet s:save_cpo
  17. let g:loaded_neocomplete_dictionary = 1
  18. " vim: foldmethod=marker