https://github.com/shougo/ddc-source-mocword
Mocword completion for ddc
https://github.com/shougo/ddc-source-mocword
ddc-source ddc-vim
Last synced: 8 months ago
JSON representation
Mocword completion for ddc
- Host: GitHub
- URL: https://github.com/shougo/ddc-source-mocword
- Owner: Shougo
- License: mit
- Created: 2022-03-27T01:42:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T05:17:19.000Z (about 2 years ago)
- Last Synced: 2024-05-02T00:30:45.606Z (about 2 years ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 18.6 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-mocword: mocword completion for ddc.vim
A ddc.vim source for `mocword` for completing words in English.
**Note: "mocword" binary must be installed in your `$PATH`!!**
## Dependencies
- https://github.com/high-moctane/mocword
- https://github.com/high-moctane/mocword-data
- Set `$MOCWORD_DATA` environment variable
Please test `mocword --limit 100` works from command line.
## Configuration
```vim
call ddc#custom#patch_global('sources', ['mocword'])
call ddc#custom#patch_global('sourceOptions', #{
\ mocword: #{
\ mark: 'mocword',
\ minAutoCompleteLength: 3,
\ isVolatile: v:true,
\ }})
```
## License
MIT