coc-nextword

0.5.0 • Public • Published

coc-nextword

nextword extension for coc.nvim

Install

  1. Install nextword. Note: you can use bundled nextword.wasm instead, see nextword.wasm.
  2. Download nextword dataset
  3. Set $NEXTWORD_DATA_PATH: export NEXTWORD_DATA_PATH=/path/to/nextword-data
  4. :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, defaults 10
  • nextword.greedy: show as many results as possible, defaults true
  • nextword.wasm: use bundled WebAssembly version nextword, this means you don't need to install nextword by Go, defaults false. 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

Readme

Keywords

Package Sidebar

Install

npm i coc-nextword

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

2.71 MB

Total Files

6

Last publish

Collaborators

  • fannheyward