feat(src/emacs/README.md): expand instructions slightly
This commit is contained in:
parent
8d50405e68
commit
68ecdc4c26
1 changed files with 13 additions and 1 deletions
|
@ -132,7 +132,7 @@ lean-mode files are located. With that information, update the
|
|||
|
||||
Case 4: Install Lean in Windows
|
||||
-------------------------------
|
||||
```
|
||||
```elisp
|
||||
;; Set up lean-root path
|
||||
(setq lean-rootdir "\\lean-0.2.0-windows")
|
||||
(setq-local lean-emacs-path "\\lean-0.2.0-windows\\share\\emacs\\site-lisp\\lean")
|
||||
|
@ -140,6 +140,18 @@ Case 4: Install Lean in Windows
|
|||
(require 'lean-mode)
|
||||
```
|
||||
|
||||
If things are working correctly, you should see the word ``Lean`` in the
|
||||
Emacs mode line when you open a file with extension `.lean` (for the
|
||||
standard Lean mode) or `.hlean` (for hott mode). If you type
|
||||
```lean
|
||||
check id
|
||||
```
|
||||
the word ``check`` will be underlined, and hovering over it will show
|
||||
you the type of ``id``. The mode line will show ``FlyC:0/1``, indicating
|
||||
that there are no errors and one piece of information displayed. Whenever
|
||||
you type, an asterisk should briefly appear after ``FlyC``, indicating that
|
||||
your file is being checked.
|
||||
|
||||
|
||||
Key Bindings
|
||||
============
|
||||
|
|
Loading…
Reference in a new issue