0.5.0 • Published 5 years ago
coc-nextword v0.5.0
coc-nextword
nextword extension for coc.nvim
Install
- Install nextword. Note: you can use bundled
nextword.wasminstead, seenextword.wasm. - Download nextword dataset
- Set
$NEXTWORD_DATA_PATH:export NEXTWORD_DATA_PATH=/path/to/nextword-data :CocInstall coc-nextword
Configurations
nextword.filetypes: filetypes that enable nextword, defaults["text", "help", "markdown", "gitcommit"]nextword.dataPath: custom path of nextword dataset, will override$NEXTWORD_DATA_PATHnextword.count: max candidates word number, defaults10nextword.greedy: show as many results as possible, defaultstruenextword.wasm: use bundled WebAssembly versionnextword, this means you don't need to installnextwordby Go, defaultsfalse. In my tests,nextword.gotakes 20-30ms to do suggesting,nextword.wasmtakes 80-100ms.
License
MIT
This extension is created by create-coc-extension