https://github.com/Shougo/ddc-source-nextword
Nextword completion for ddc
https://github.com/Shougo/ddc-source-nextword
ddc-source ddc-vim
Last synced: 4 months ago
JSON representation
Nextword completion for ddc
- Host: GitHub
- URL: https://github.com/Shougo/ddc-source-nextword
- Owner: Shougo
- License: mit
- Created: 2021-08-04T00:28:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T05:18:14.000Z (10 months ago)
- Last Synced: 2024-05-02T00:30:47.494Z (10 months ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 19.5 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-nextword: nextword completion for ddc.vim
A ddc.vim source for `nextword` for completing words in English.
**Note: "nextword" is deprecated. You should use
[ddc-mocword](https://github.com/Shougo/ddc-mocword) instead.**## Dependencies
**Note: "nextword" binary must be installed in your `$PATH`!!**
- https://github.com/high-moctane/nextword
- https://github.com/high-moctane/nextword-data
- Set `$NEXTWORD_DATA_PATH` environment variable
Please test `nextword -n 100 -g` works from command line.
## Configuration
```vim
call ddc#custom#patch_global('sources', ['nextword'])
call ddc#custom#patch_global('sourceOptions', #{
\ nextword: #{
\ mark: 'nextword',
\ minAutoCompleteLength: 3,
\ isVolatile: v:true,
\ }})
```## License
MIT