Skip to content

Commit a88c97a

Browse files
committed
Fix a bunch of typos discovered by codespell
1 parent 474e247 commit a88c97a

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

.github/workflows/spell_checking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
pip install codespell
2222
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2323
- name: Check spelling with codespell
24-
run: codespell || exit 1
24+
run: codespell --ignore-words=codespell.txt || exit 1
2525
misspell:
2626
name: Check spelling with misspell
2727
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ within the scope of your current Emacs session.
570570

571571
* [#1677](https://github.com/clojure-emacs/cider/issues/1677): Interpret `\r` as a newline.
572572
* [#1819](https://github.com/clojure-emacs/cider/issues/1819): Handle properly missing commands on `cider-jack-in`.
573-
* Add option to define exclusions for injected dependecies. Fixes [#1824](https://github.com/clojure-emacs/cider/issues/1824): Can no longer jack-in to an inherited clojure version.
573+
* Add option to define exclusions for injected dependencies. Fixes [#1824](https://github.com/clojure-emacs/cider/issues/1824): Can no longer jack-in to an inherited clojure version.
574574
* [#1820](https://github.com/clojure-emacs/cider/issues/1820): Don't try to display eldoc in EDN buffers.
575575
* [#1823](https://github.com/clojure-emacs/cider/issues/1823): Fix column location metadata set by interactive evaluation.
576576
* [#1859](https://github.com/clojure-emacs/cider/issues/1859): Make nREPL message log much faster. `nrepl-dict-max-message-size` custom variable was removed.
@@ -798,7 +798,7 @@ and try to associate the created connection with this project automatically.
798798
* [#1187](https://github.com/clojure-emacs/cider/pull/1187): The list of keys displayed by the debugger can be configured with `cider-debug-prompt`.
799799
* [#1187](https://github.com/clojure-emacs/cider/pull/1187): While debugging, there is a menu on the menu-bar listing available commands.
800800
* [#1184](https://github.com/clojure-emacs/cider/pull/1184): When the user kills the REPL buffer, CIDER will offer to kill the nrepl buffer and process too. Also, when the client (repl) process dies, the server (nrepl) process is killed too.
801-
* [#1182](https://github.com/clojure-emacs/cider/pull/1182): New command `cider-browse-instrumented-defs`, displays a buffer listing all defitions currently instrumented by the debugger.
801+
* [#1182](https://github.com/clojure-emacs/cider/pull/1182): New command `cider-browse-instrumented-defs`, displays a buffer listing all definitions currently instrumented by the debugger.
802802
* [#1182](https://github.com/clojure-emacs/cider/pull/1182): Definitions currently instrumented by the debugger are marked with a red box in the source buffer.
803803
* [#1174](https://github.com/clojure-emacs/cider/pull/1174): New command `cider-run`, runs the project's `-main` function.
804804
* [#1176](https://github.com/clojure-emacs/cider/pull/1176): While debugging, cider's usual eval commands will evaluate code in the current lexical context. Additionally, the <kbd>l</kbd> key now inspects local variables.
@@ -846,7 +846,7 @@ and try to associate the created connection with this project automatically.
846846

847847
### Bugs fixed
848848

849-
* [#1142](https://github.com/clojure-emacs/cider/issues/1142): Don't retrive nrepl ports when `cider-known-endpoints` entry already contains the port.
849+
* [#1142](https://github.com/clojure-emacs/cider/issues/1142): Don't retrieve nrepl ports when `cider-known-endpoints` entry already contains the port.
850850
* [#1153](https://github.com/clojure-emacs/cider/pull/1153): Fix behavior of `cider-switch-to-current-repl-buffer`.
851851
* [#1139](https://github.com/clojure-emacs/cider/issues/1139): Fix evaluation of ns forms and of forms with unevaluated namespaces.
852852
* Replace `assert` with `cl-assert` (we don't use anything from `cl` now).

codespell.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
edn
2+
hist

test/cider-eldoc-tests.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
(expect (cider-eldoc-format-thing "clojure.core" "map" "map" 'function)
8080
:to-equal "clojure.core/map"))
8181

82-
(describe "when the given ns doesnt exist"
82+
(describe "when the given ns doesn't exist"
8383
(it "returns eldoc formatted symbol"
8484
(let ((cider-eldoc-ns-function (lambda (ns) nil)))
8585
(expect (cider-eldoc-format-thing "non-existent-ns" "" "my-map" 'function)
@@ -240,7 +240,7 @@
240240
(before-each
241241
(spy-on 'window-width :and-return-value 177))
242242

243-
(it "returns the formated eldoc string"
243+
(it "returns the formatted eldoc string"
244244
(expect (cider-eldoc-format-sym-doc "kubaru.core/plane" "kubaru.core" "Simple docstring.")
245245
:to-equal "kubaru.core/plane: Simple docstring."))
246246

test/cider-locals-tests.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
("a" "b" "the-ns")
127127
(cider--read-locals-from-arglist)))
128128

129-
(it "understands clojure multi-arity functons"
129+
(it "understands clojure multi-arity functions"
130130
(cider--test-with-content ("(defn| requires-ns-by-name (^Value [a & b] (+ a b)) ([the-ns] nil))"
131131
;; incomplete sexp
132132
"(defn| requires-ns-by-name (^Value [a & b] (+ a b)) ([the-ns] nil")

test/nrepl-bencode-tests.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ If object is incomplete, return a decoded path."
274274
"session" "6fc999d0-3795-4d51-85fc-ccca7537ee57"
275275
"status" ("done"))))))
276276

277-
(describe "when bencode strings have deeply nested struture"
277+
(describe "when bencode strings have deeply nested structure"
278278
:var (nrepl--toString-dicts nrepl--toString-strings)
279279

280280
(it "decodes the structures"

test/nrepl-dict-tests.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
(setq input '(dict 1 "a" 2 "B" "3" "d" 4 nil sym yes nil nil-val))
6060
(expect (nrepl-dict-contains input nil) :to-be-truthy))
6161

62-
(it "returns `nil' if dict doesnt contain the element"
62+
(it "returns `nil' if dict doesn't contain the element"
6363
(setq input '(dict 1 "a" 2 "B" "3" "d" 4 nil sym yes))
6464

6565
(expect (nrepl-dict-contains input 11) :to-equal nil)

0 commit comments

Comments
 (0)