Skip to content

Commit cce58e3

Browse files
xvwvoodoos
andauthored
Apply suggestions from code review
Co-authored-by: Ulysse <[email protected]>
1 parent cb2aaac commit cce58e3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ navigating through errors:
4040

4141
### Type Enclosings
4242

43-
`ocaml-eglot` displays the type of expression below the cursor and
44-
increases or decreases the enclosings of the expression or verbosity:
43+
In `ocaml-eglot` one can display the type of the expression below the cursor and
44+
navigate the enclosing nodes while increasing or decreasing verbosity:
4545

4646
- `ocaml-eglot-type-enclosing` (<kbd>C-c</kbd> <kbd>C-t</kbd>)
47+
Display the type of the selection and start a "type enclosing" session.
4748

48-
And when a type is displayed, additional commands are possible:
49+
During a "type enclosing" session the following commands are available:
4950

5051
- `ocaml-eglot-type-enclosing-increase-verbosity` (<kbd>C-c</kbd>
5152
<kbd>C-t</kbd> or <kbd>C-→</kbd>): to increase the verbosity of the

ocaml-eglot-type-enclosing.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
(ocaml-eglot-type-enclosing--with-fixed-offset)))
106106

107107
(defun ocaml-eglot-type-enclosing-shrink ()
108-
"Shrinking of the type enclosing."
108+
"Display the type enclosing of a smaller enclosing if possible."
109109
(interactive)
110110
(when ocaml-eglot-type-enclosing-types
111111
(if (<= ocaml-eglot-type-enclosing-offset 0)

0 commit comments

Comments
 (0)