Matched rank order sorter for ddc.vim
It is matched rank order sorter. The higher the head matched word or already typed or inserted word.
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddc.vim
call ddc#custom#patch_global('sourceOptions', #{
\ _: #{
\ sorters: ['sorter_rank'],
\ }
\ })