https://github.com/delapouite/kakoune-flow
Support for flow, the JavaScript type checker
https://github.com/delapouite/kakoune-flow
ecmascript flow flowtype javascript kakoune plugin
Last synced: 3 months ago
JSON representation
Support for flow, the JavaScript type checker
- Host: GitHub
- URL: https://github.com/delapouite/kakoune-flow
- Owner: Delapouite
- Created: 2017-06-27T18:01:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T12:40:22.000Z (about 8 years ago)
- Last Synced: 2025-07-02T20:09:45.108Z (12 months ago)
- Topics: ecmascript, flow, flowtype, javascript, kakoune, plugin
- Homepage: http://kakoune.org
- Size: 6.84 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kakoune-flow
[kakoune](http://kakoune.org) plugin to work with [flow](https://flow.org/), the JavaScript type checker.
## Install
Add `flow.kak` to your autoload dir: `~/.config/kak/autoload/`.
To use the `flow-coverage` command, you need to have [jq](https://stedolan.github.io/jq/) on your system.
## Usage
It provides the following commands:
- `flow-get-type`: display the type of the name under cursor in info (using `flow type-at-pos`)
- `flow-jump-to-definition`: jump to definition of the name under cursor (using `flow get-def`)
- `flow-coverage`: display the current file coverage in info and highlight missing coverage (using `flow coverage`)
- `flow-coverage-disable`: remove coverage highlighter
- `flow-select-references`: select references of the name under cursor (using `flow find-refs`)
Available options:
- `flow_coverage_percentage`: store the result of previous `flow-coverage` command.
Hidden utility commands:
- `flow-get-type-toggle`: enable/disable auto flow-get-type on NormalIdle
## See also
- [vim-flow](https://github.com/flowtype/vim-flow)
- [eslint-plugin-flowtype-errors](https://github.com/amilajack/eslint-plugin-flowtype-errors)
- [eslint-formatter-kakoune](https://github.com/Delapouite/eslint-formatter-kakoune)
- [kakoune-ecmascript](https://github.com/Delapouite/kakoune-ecmascript)
- [kakoune-typescript](https://github.com/atomrc/kakoune-typescript)
- [kak-lsp](https://github.com/ul/kak-lsp)
## Licence
MIT