Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ddc-dictionary test
set runtimepath+=~/work/denops.vim
set runtimepath+=~/work/ddc.vim
set runtimepath+=~/work/ddc-matcher_head
set runtimepath+=~/work/ddc-sorter_rank
set runtimepath+=~/src/ddc-dictionary
setlocal dictionary+=/usr/share/dict/words
call ddc#custom#patch_global('sources', ['dictionary'])
call ddc#custom#patch_global('sourceOptions', {
\ '_': {
\ 'matchers': ['matcher_head'],
\ 'sorters': ['sorter_rank']},
\ })
call ddc#enable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment