0.5.0 • Published 3 years ago
coc-nextword v0.5.0
coc-nextword
nextword extension for coc.nvim
Install
- Install nextword. Note: you can use bundled
nextword.wasm
instead, 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_PATH
nextword.count
: max candidates word number, defaults10
nextword.greedy
: show as many results as possible, defaultstrue
nextword.wasm
: use bundled WebAssembly versionnextword
, this means you don't need to installnextword
by Go, defaultsfalse
. In my tests,nextword.go
takes 20-30ms to do suggesting,nextword.wasm
takes 80-100ms.
License
MIT
This extension is created by create-coc-extension