Skip to content

Delapouite/kakoune-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

kakoune-flow

kakoune plugin to work with flow, 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 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

Licence

MIT

Releases

No releases published

Packages

No packages published