Skip to content

Instantly share code, notes, and snippets.

@Shougo
Last active March 25, 2022 01:19
Show Gist options
  • Save Shougo/f892b0d082ce16f6805e3730553ee29e to your computer and use it in GitHub Desktop.
Save Shougo/f892b0d082ce16f6805e3730553ee29e to your computer and use it in GitHub Desktop.
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