Skip to content

Commit 461cbc2

Browse files
committed
Replace usages of middlewares with middleware
The plural form of "middleware" is "middleware".
1 parent 4f049b5 commit 461cbc2

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

doc/modules/ROOT/pages/about/history.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ with the assumption that this would make it easier to develop CIDER and would op
77
to build complex features like an interactive debugger. Fortunately, the assumption turned out to be correct.
88
Today `cider-nrepl` provides pretty much everything that a Clojure development environment might need (and more).
99

10-
Eventually `cider-nrepl` served as the inspiration for more similar
11-
middlewares - e.g. `refactor-nrepl`, `iced-nrepl` and `sayid`. We quickly
12-
realized that there was nothing CIDER specific in those middlewares and we've
10+
We quickly
11+
realized that there was nothing CIDER specific in those middleware and we've
1312
started to encourage more tool authors to leverage them. Today `cider-nrepl` is
1413
developed and released independently from CIDER and is used by most of the
1514
nREPL-based editors and IDEs out there, which is a great example of team work.
15+
Eventually `cider-nrepl` served as the inspiration for more similar
16+
middleware libraries - e.g. `refactor-nrepl`, `iced-nrepl` and `sayid`.
1617

1718
More recently we've been working to extract the core functionality out of `cider-nrepl`
1819
into a https://github.com/clojure-emacs/orchard[REPL-agnostic library].footnote:[This process started in 2019.]

doc/modules/ROOT/pages/faq.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for ClojureScript.
1717

1818
No, it does not.
1919

20-
== Are there any other nREPL middlewares similar to `cider-nrepl`?
20+
== Are there any other nREPL middleware libraries similar to `cider-nrepl`?
2121

2222
Yeah, there are. Most notably there's `refactor-nrepl` which provides a lot of
2323
refactoring functionality for Clojure editors.

doc/modules/ROOT/pages/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ be a REPL-first tool.
4040

4141
=== Editor Agnostic
4242

43-
Although those middlewares were created for use with CIDER almost all
43+
Although those middleware were created for use with CIDER almost all
4444
of them are extremely generic and can be leveraged from other editors.
4545

4646
Projects like https://github.com/tpope/vim-fireplace[vim-fireplace] and https://github.com/SevereOverfl0w/vim-replant[vim-replant] are making use of
@@ -87,7 +87,7 @@ we're all ears!
8787
=== Deferred Middleware Loading
8888

8989
To improve the startup time of the nREPL server all of cider-nrepl's
90-
middlewares are loaded for real only when needed.
90+
middleware are loaded for real only when needed.
9191

9292
You can read more about this
9393
https://github.com/clojure-emacs/cider-nrepl/pull/438[here].

doc/modules/ROOT/pages/internals.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Currently the ClojureScript support relies on inspecting the ClojureScript compi
3333
state. `cider-nrepl` would fetch the compiler state from Piggieback and pass it
3434
to the underlying libraries (e.g. `orchard` and `clj-suitable`) that do something useful with it.
3535

36-
Unfortunately the majority of the middlewares don't support ClojureScript
36+
Unfortunately the majority of the middleware don't support ClojureScript
3737
currently, as they are implemented in terms of Clojure-only libraries. Another
3838
roadblock is that `cider-nrepl` runs in a Clojure context and you have to jump
3939
through some hoops to evaluate ClojureScript code from it (e.g. pipe it to

doc/modules/ROOT/pages/release_policy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include new features or significant changes to existing features. Clojure API
77
compatibility between major releases is not a (big) concern (although we try
88
to break the API rarely and only for a good reason). nREPL API compatibility, however,
99
is a big concern and we're very careful to limit the breaking changes there (especially
10-
when it comes to middlewares that are widely used).
10+
when it comes to middleware that are widely used).
1111

1212
The development cycle for the next major
1313
release starts immediately after the previous one has been

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(defproject cider/cider-nrepl "0.27.0-SNAPSHOT"
2-
:description "A collection of nREPL middlewares designed to enhance Clojure editors."
2+
:description "A collection of nREPL middleware designed to enhance Clojure editors."
33
:url "https://github.com/clojure-emacs/cider-nrepl"
44
:license {:name "Eclipse Public License"
55
:url "http://www.eclipse.org/legal/epl-v10.html"}

src/cider/nrepl/middleware.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(ns cider.nrepl.middleware
22
"This namespace mostly exists, so that
3-
it's easy to share the list of provided middlewares.
3+
it's easy to share the list of provided middleware.
44
55
Eventually the deferred middleware loading code will be probably moved here as well."
66
{:added "0.25"})

0 commit comments

Comments
 (0)