Skip to content

matsui54/ddc-source-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddc-dictionary

ddc source for dictionary

Required

denops.vim

https://github.com/vim-denops/denops.vim

ddc.vim

https://github.com/Shougo/ddc.vim

Configuration examples

For detail, please see help file.

" you need to set 'dictionary' option
setlocal dictionary+=/usr/share/dict/words
" or you can specify dictionary path using sourceParams ('dictPaths' must be list of files)
call ddc#custom#patch_global('sourceParams', {
      \ 'dictionary': {'dictPaths':
      \ ['/usr/share/dict/german',
      \ '/usr/share/dict/words',
      \ '/usr/share/dict/spanish'],
      \ 'smartCase': v:true,
      \ 'isVolatile': v:true,
      \ }
      \ })

call ddc#custom#patch_global('sources', ['dictionary'])
call ddc#custom#patch_global('sourceOptions', {
      \ '_': {'matchers': ['matcher_head']},
      \ 'dictionary': {'mark': 'D'},
      \ })

Original version

https://github.com/deoplete-plugins/deoplete-dictionary

About

ddc source for dictionary

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •