Skip to content

Commit 079efb1

Browse files
committed
Update README
1 parent 989faeb commit 079efb1

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _Emacs tool for running **flutter** mobile apps on **desktop** using [hover](htt
1010

1111
<img src="https://github.com/ericdallo/hover.el/blob/screenshots/usage.gif"/>
1212

13-
If you wants to run flutter on a emulator from emacs, you should check [flutter.el](https://github.com/amake/flutter.el).
13+
If you want to run flutter on a emulator from Emacs, you should check [flutter.el](https://github.com/amake/flutter.el).
1414

1515
## Installation
1616

@@ -26,14 +26,15 @@ For example you can bind `hover-run-or-hot-reload` to `C-M-z` in dart-mode. Whil
2626

2727
## Configuration
2828

29-
| Variable | Description | Default value |
30-
| -------------------------- | --------------------------------------------------------------- | ------------------------------------------- |
31-
| `hover-command-path` | Path to the hover executable command | tries to use `hover` if exists in $PATH |
32-
| `hover-flutter-sdk-path` | Path to flutter sdk path to find flutter executable command | tries to find `flutter` executable in $PATH |
33-
| `hover-hot-reload-on-save` | On buffer save, triggers hover hot-reload (if hover is running) | nil |
34-
| `hover-screenshot-path` | If non-nil, save hover screenshot on specified folder. | project root |
35-
| `hover-screenshot-prefix` | Prefix for file name on `hover-take-screenshot`. | hover- |
36-
| `hover-observatory-uri` | Hover custom observatory-uri. | `http://127.0.0.1:50300` |
29+
| Variable | Description | Default value |
30+
| -------------------------- | --------------------------------------------------------------- | ------------------------------------------- |
31+
| `hover-command-path` | Path to the hover executable command | tries to use `hover` if exists in $PATH |
32+
| `hover-flutter-sdk-path` | Path to flutter sdk path to find flutter executable command | tries to find `flutter` executable in $PATH |
33+
| `hover-hot-reload-on-save` | On buffer save, triggers hover hot-reload (if hover is running) | `nil` |
34+
| `hover-screenshot-path` | If non-nil, save hover screenshot on specified folder. | project root |
35+
| `hover-screenshot-prefix` | Prefix for file name on `hover-take-screenshot`. | hover- |
36+
| `hover-observatory-uri` | Hover custom observatory-uri. | `http://127.0.0.1:50300` |
37+
| `hover-clear-buffer-on-hot-restart` | Calls `hover-clear-buffer` after a `hover-hot-restart` | `nil` |
3738

3839
## Example
3940

@@ -58,7 +59,8 @@ The following example uses **all available** configurations above, you can custo
5859
hover-hot-reload-on-save t
5960
hover-screenshot-path (concat (getenv "HOME") "/Pictures"
6061
hover-screenshot-prefix "my-prefix-"
61-
hover-observatory-uri "http://my-custom-host:50300")))
62+
hover-observatory-uri "http://my-custom-host:50300"
63+
hover-clear-buffer-on-hot-restart t)))
6264
```
6365

6466
_Thanks to [flutter.el](https://github.com/amake/flutter.el) which inspired this project._

0 commit comments

Comments
 (0)