diff options
| author | Alasdair Armstrong | 2019-02-06 19:44:22 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-02-06 19:48:55 +0000 |
| commit | aadbe7ede88dc9bbbda6a09876baacd6797153fb (patch) | |
| tree | 308d68ff63b2801f5de9a087e2b8785c1ceee3e1 /src/interactive.mli | |
| parent | 55f65f92812a6927d5661c2c25a09051630334b3 (diff) | |
Improve emacs mode
Can now use C-c C-s to start an interactive Sail process, C-c C-l to
load a file, and C-c C-q to kill the sail process. Type errors are
highlighted in the emacs buffer (like with merlin for OCaml) with a
tooltip for the type-error, as well as being displayed in the
minibuffer. Need to add a C-c C-x command like merlin to jump to the
error, and figure out how to handle multiple files nicely, as well as
hooking the save function like tuareg/merlin, but this is already
enough to make working with small examples quite a bit more pleasant.
Diffstat (limited to 'src/interactive.mli')
| -rw-r--r-- | src/interactive.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interactive.mli b/src/interactive.mli index 7782f646..915193ec 100644 --- a/src/interactive.mli +++ b/src/interactive.mli @@ -2,6 +2,7 @@ open Ast open Type_check val opt_interactive : bool ref +val opt_emacs_mode : bool ref val opt_suppress_banner : bool ref val ast : tannot defs ref |
