A ddc.vim source for nextword for completing words in English.
Note: "nextword" is deprecated. You should use ddc-mocword instead.
Note: "nextword" binary must be installed in your $PATH!!
-
Set
$NEXTWORD_DATA_PATHenvironment variable
Please test nextword -n 100 -g works from command line.
call ddc#custom#patch_global('sources', ['nextword'])
call ddc#custom#patch_global('sourceOptions', #{
\ nextword: #{
\ mark: 'nextword',
\ minAutoCompleteLength: 3,
\ isVolatile: v:true,
\ }})MIT