Browse Source

Fix typos

Typos found with codespell.
pull/11/head
Damien Cassou 1 year ago
committed by Nicolas Petton
parent
commit
036f237840
9 changed files with 15 additions and 15 deletions
  1. +4
    -4
      doc/Indium.texi
  2. +1
    -1
      indium-debugger.el
  3. +1
    -1
      indium-nodejs.el
  4. +1
    -1
      indium-structs.el
  5. +1
    -1
      server/adapters/cdp/index.js
  6. +1
    -1
      sphinx-doc/installation.rst
  7. +3
    -3
      sphinx-doc/repl.rst
  8. +1
    -1
      test/test-helper.el
  9. +2
    -2
      test/unit/indium-interaction-test.el

+ 4
- 4
doc/Indium.texi View File

@ -196,7 +196,7 @@ Indium works with @code{js-mode}, @code{js2-mode}, @code{js2-jsx-mode} and
@code{rjsx-mode}. It supports the ECMAScript features of the runtime it connects
to.
Indium is availabe on MELPA@footnote{https://melpa.org}, MELPA Stable@footnote{https://stable.melpa/org}.
Indium is available on MELPA@footnote{https://melpa.org}, MELPA Stable@footnote{https://stable.melpa/org}.
@menu
* The Indium server::
@ -547,7 +547,7 @@ Description
@tab
Evalute the current input. When the point is on a printed object, inspect the object.
Evaluate the current input. When the point is on a printed object, inspect the object.
@item
@ -563,7 +563,7 @@ Insert a newline.
@tab
Evalute the current input and open an inspector on the result.
Evaluate the current input and open an inspector on the result.
@item
@ -595,7 +595,7 @@ Insert the previous input in the history.
@tab
Instert the next input in the history.
Insert the next input in the history.
@end multitable

+ 1
- 1
indium-debugger.el View File

@ -482,7 +482,7 @@ CURRENT-FRAME is the current stack frame in the debugger."
(indium-debugger-frames-goto-next 'next))
(defun indium-debugger-frames-previous-frame ()
"Go to the previos frame in the stack."
"Go to the previous frame in the stack."
(interactive)
(indium-debugger-frames-goto-next 'previous))

+ 1
- 1
indium-nodejs.el View File

@ -95,7 +95,7 @@ process output."
(insert output))
(when (and (not connected)
(string-match-p "Debugger listening on" output))
;; Node will keep outputing the "Debugger listening on" message after
;; Node will keep outputting the "Debugger listening on" message after
;; each deconnection, so only try to connect one.
(setq connected t)
(let-alist conf

+ 1
- 1
indium-structs.el View File

@ -144,7 +144,7 @@
(preview ""))
(defun indium-remote-object-error-p (obj)
"Retun non-nil if OBJ represents an error."
"Return non-nil if OBJ represents an error."
(equal (indium-remote-object-type obj) "error"))
(defun indium-remote-object-reference-p (obj)

+ 1
- 1
server/adapters/cdp/index.js View File

@ -237,7 +237,7 @@ const debuggerPaused = async ({ callFrames, reason, data = {} }) => {
state.scripts
),
reason: reason === "exception"
? "Exception occured"
? "Exception occurred"
: "Breakpoint hit",
description: data.description
});

+ 1
- 1
sphinx-doc/installation.rst View File

@ -12,7 +12,7 @@ Indium works with ``js-mode``, ``js2-mode``, ``js2-jsx-mode`` and
``rjsx-mode``. It supports the ECMAScript features of the runtime it connects
to.
Indium is availabe on `MELPA <https://melpa.org>`_, `MELPA Stable
Indium is available on `MELPA <https://melpa.org>`_, `MELPA Stable
<https://stable.melpa/org>`_.
.. _server_installation:

+ 3
- 3
sphinx-doc/repl.rst View File

@ -33,11 +33,11 @@ Here is the list of available keybindings in a REPL buffer:
+-------------+----------------------------------------------------------------------------------------+
| Keybinding | Description |
+=============+========================================================================================+
| ``RET`` | Evalute the current input. When the point is on a printed object, inspect the object. |
| ``RET`` | Evaluate the current input. When the point is on a printed object, inspect the object. |
+-------------+----------------------------------------------------------------------------------------+
| ``C-RET`` | Insert a newline. |
+-------------+----------------------------------------------------------------------------------------+
| ``C-c M-i`` | Evalute the current input and open an inspector on the result. |
| ``C-c M-i`` | Evaluate the current input and open an inspector on the result. |
+-------------+----------------------------------------------------------------------------------------+
| ``C-c C-o`` | Clear the output. |
+-------------+----------------------------------------------------------------------------------------+
@ -45,7 +45,7 @@ Here is the list of available keybindings in a REPL buffer:
+-------------+----------------------------------------------------------------------------------------+
| ``M-n`` | Insert the previous input in the history. |
+-------------+----------------------------------------------------------------------------------------+
| ``M-p`` | Instert the next input in the history. |
| ``M-p`` | Insert the next input in the history. |
+-------------+----------------------------------------------------------------------------------------+
Reconnecting from the REPL buffer

+ 1
- 1
test/test-helper.el View File

@ -117,7 +117,7 @@ If RETRY is the number of retries, is non-nil."
(defun repl-eval (expression)
"Send EXPRESSION to be evaluated.
Onece EXPRESSION has been sent for evaluation, sleep for 500ms to
Once EXPRESSION has been sent for evaluation, sleep for 500ms to
give time for the runtime to send a response."
(insert expression)
(press-and-sleep-for "RET" 2))

+ 2
- 2
test/unit/indium-interaction-test.el View File

@ -152,12 +152,12 @@
(indium-add-breakpoint)
(expect (indium-add-breakpoint) :to-throw 'user-error)))
(it "should not try to remove non-existant breakpoints"
(it "should not try to remove non-existent breakpoints"
(with-js2-file
(insert "let a = 2;")
(expect (indium-remove-breakpoint) :to-throw 'user-error)))
(it "should not try to edit non-existant breakpoints"
(it "should not try to edit non-existent breakpoints"
(with-js2-file
(insert "let a = 2;")
(expect (indium-edit-breakpoint-condition) :to-throw 'user-error)))

Loading…
Cancel
Save