kakoune plugin to work with flow, the JavaScript type checker.
Add flow.kak
to your autoload dir: ~/.config/kak/autoload/
.
To use the flow-coverage
command, you need to have jq on your system.
It provides the following commands:
flow-get-type
: display the type of the name under cursor in info (usingflow type-at-pos
)flow-jump-to-definition
: jump to definition of the name under cursor (usingflow get-def
)flow-coverage
: display the current file coverage in info and highlight missing coverage (usingflow coverage
)flow-coverage-disable
: remove coverage highlighterflow-select-references
: select references of the name under cursor (usingflow find-refs
)
Available options:
flow_coverage_percentage
: store the result of previousflow-coverage
command.
Hidden utility commands:
flow-get-type-toggle
: enable/disable auto flow-get-type on NormalIdle
- vim-flow
- eslint-plugin-flowtype-errors
- eslint-formatter-kakoune
- kakoune-ecmascript
- kakoune-typescript
- kak-lsp
MIT