0.1.4 • Published 1 year ago

coc-flow v0.1.4

Weekly downloads
155
License
MIT
Repository
github
Last release
1 year ago

coc-flow

Flow language server extension for coc.nvim.

Install

  1. Inside (neo)vim run this command:
:CocInstall coc-flow

Note: for coc installation instructions visit coc.nvim repo

Setup

  • Make sure you have .flowconfig inside your project root.
  • By default coc-flow looks for flow binary inside your node_modules (as flow recommends it), as fallback it uses flow.pathToFlow, you can toggle this behavior using flow.useNPMPackagedFlow option.
  • If you're using coc-tsserver, set javascript.validate.enable option to false, or completely disable tsserver extension by setting tsserver.enable to false.

Features

  • Code completion
  • Go to definition
  • Diagnostics
  • Hover for type info

Configuration

  • flow.enable (default: true) Enable flow extension
  • flow.pathToFlow (default: flow) Absolute path to flow binary
  • flow.useNPMPackagedFlow (default: true) Use flow binary which exists in node_modules (recommended)
  • flow.stopFlowOnExit (default: true) Stop flow server on exit
  • flow.lazyMode (default: '') Which lazy mode to use, empty string will use lazy mode set in .flowconfig and any other value override that

License

MIT

0.1.4

1 year ago

0.1.3

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago