Improve documentation for flow-type a bit
This commit is contained in:
parent
756056bf51
commit
67f62c6fd3
|
@ -9,7 +9,8 @@
|
||||||
- [[#key-bindings][Key bindings]]
|
- [[#key-bindings][Key bindings]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
This layer adds support for [[https://flowtype.org/][flow]] to spacemacs.
|
This layer adds support for static type checking in javascript based
|
||||||
|
on the [[https://flowtype.org/][flow]] project to spacemacs.
|
||||||
|
|
||||||
** Features:
|
** Features:
|
||||||
- Syntax highlighting
|
- Syntax highlighting
|
||||||
|
@ -25,7 +26,7 @@ add =flow-type= to the existing =dotspacemacs-configuration-layers= list.
|
||||||
In addition you also need to flow binary installed best with npm like shown below.
|
In addition you also need to flow binary installed best with npm like shown below.
|
||||||
|
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
npm install -g flow-bin
|
$ npm install -g flow-bin
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
The type under the cursor is shown automatically using eldoc. You may find this
|
The type under the cursor is shown automatically using eldoc. You may find this
|
||||||
|
|
Loading…
Reference in a new issue