Skip to content

Commit 05da9e5

Browse files
committed
Some rewording
1 parent cce58e3 commit 05da9e5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ocaml-eglot-type-enclosing.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ If CURRENT-ENCLOSING is set, the range of the enclosing will be highlighted."
151151
(setq ocaml-eglot-type-enclosing-offset 0))
152152

153153
(defun ocaml-eglot-type-enclosing--call ()
154-
"Prepare the type-enclosings computation request."
154+
"Print the type of the expression under point."
155155
(ocaml-eglot-type-enclosing--reset)
156156
(let* ((verbosity nil)
157157
(index 0)

ocaml-eglot.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Otherwise, `merlin-construct' only includes constructors."
9595

9696
(defface ocaml-eglot-highlight-region-face
9797
'((t (:inherit highlight)))
98-
"Face for highlighting a region.")
98+
"Face used when highlighting a region.")
9999

100100
;;; Features
101101

@@ -449,7 +449,8 @@ It use the ARG to use local values or not."
449449
;; Type Enclosings
450450

451451
(defun ocaml-eglot-type-enclosing ()
452-
"A needed documentation."
452+
"Print the type of the expression under point (or of the region, if it exists).
453+
If called repeatedly, increase the verbosity of the type shown."
453454
(interactive)
454455
(ocaml-eglot-type-enclosing--call))
455456

0 commit comments

Comments
 (0)