ddc-dictionary
使い方
showMenuをv:true(default)にすると、候補に挙がった単語の出典元辞書ファイルパスが一緒に表示される
takker.iconはパスが長くて見ずらいので無効にしている
辞書はとりあえずwamericanをsudo apt install wamerican入れておけばいい 'maxCandidates': 50で補完候補を絞っても遅い
code:vim
call ddc#custom#patch_global('sourceParams', {
\ 'dictionary': {'dictPaths':
\ ['/usr/share/dict/american-english',
\ '/usr/share/dict/words',],
\ 'smartCase': v:true,
\ 'showMenu': v:false,
\ }
\})
call ddc#custom#patch_global('sourceOptions', {
\ 'dictionary': {'mark': 'D'},
\})