Last active
March 25, 2022 01:19
-
-
Save Shougo/f892b0d082ce16f6805e3730553ee29e to your computer and use it in GitHub Desktop.
ddc-dictionary test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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