Skip to content

Commit 1208278

Browse files
committed
Touch up the previous commit
1 parent 9877d22 commit 1208278

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ If you decide to build Emacs from source there's some useful information on this
8585
- [Emacs tree-sitter starter-guide](https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=emacs-29)
8686
- [Emacs install instructions](https://git.savannah.gnu.org/cgit/emacs.git/tree/INSTALL.REPO).
8787

88-
To check if your emacs already supports tree sitter run
88+
To check if your Emacs supports tree sitter run the following (e.g. by using `M-:`):
8989

9090
``` emacs-lisp
9191
(treesit-available-p)
@@ -194,17 +194,15 @@ After installing the package do the following.
194194

195195
- Check the value of `clojure-mode-hook` and copy all relevant hooks to `clojure-ts-mode-hook`.
196196

197-
example:
198197
``` emacs-lisp
199198
(add-hook 'clojure-ts-mode-hook #'cider-mode)
200199
(add-hook 'clojure-ts-mode-hook #'enable-paredit-mode)
201200
(add-hook 'clojure-ts-mode-hook #'rainbow-delimiters-mode)
202201
(add-hook 'clojure-ts-mode-hook #'clj-refactor-mode)
203202
```
204203

205-
- Update `.dir-locals.el` in all of your clojure projects to activate directory local variables in clojure-ts-mode.
204+
- Update `.dir-locals.el` in all of your Clojure projects to activate directory local variables in `clojure-ts-mode`.
206205

207-
example:
208206
``` emacs-lisp
209207
((clojure-mode
210208
(cider-clojure-cli-aliases . ":test:repl"))
@@ -218,14 +216,16 @@ example:
218216

219217
~~Not yet out of the box, but that [should change soon](https://github.com/clojure-emacs/cider/pull/3461). Feel free to help out with the remaining work, so we can expedite the process.~~
220218

221-
Support for clojure-ts-mode has landed on the master branch. Make sure to grab the latest cider from melpa/github.
219+
Support for `clojure-ts-mode` has landed on the `master` branch of CIDER (and will be part of CIDER 1.14 when it's released). Make sure to grab the latest CIDER from MELPA/GitHub.
222220

223-
For now, when you take care of the keybindings for the cider functions you use and ensure `cider-mode` is enabled for `clojure-ts-mode` buffers in your config, most functionality should already work:
221+
For now, when you take care of the keybindings for the CIDER commands you use and ensure `cider-mode` is enabled for `clojure-ts-mode` buffers in your config, most functionality should already work:
224222

225223
```emacs-lisp
226224
(add-hook 'clojure-ts-mode-hook #'cider-mode)
227225
```
228226

227+
Check out [this article](https://metaredux.com/posts/2024/02/19/cider-preliminary-support-for-clojure-ts-mode.html) for more details.
228+
229229
### Does `clojure-ts-mode` work with `inf-clojure`?
230230

231231
[Ditto.](https://github.com/clojure-emacs/inf-clojure/pull/215)

0 commit comments

Comments
 (0)