Skip to content

Commit e26ae46

Browse files
committed
Move the overlays section
1 parent 13625e9 commit e26ae46

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ specific CIDER release.**
6060
- [Managing multiple connections](#managing-multiple-connections)
6161
- [Configuration](#configuration)
6262
- [Basic configuration](#basic-configuration)
63+
- [Overlays](#overlays)
6364
- [Specifying indentation](#specifying-indentation)
6465
- [Minibuffer completion](#minibuffer-completion)
6566
- [Auto-completion](#auto-completion)
@@ -1072,6 +1073,24 @@ helpful for identifying each host.
10721073

10731074
More detail can be found [here](https://github.com/clojure-emacs/cider/issues/930).
10741075

1076+
### Overlays
1077+
1078+
When you evaluate code in Clojure files, the result is displayed in the buffer
1079+
itself, in an overlay right after the evaluated code. If you want this overlay
1080+
to be font-locked (syntax-highlighted) like Clojure code, set the following
1081+
variable.
1082+
1083+
```el
1084+
(setq cider-overlays-use-font-lock t)
1085+
```
1086+
1087+
You can disable overlays entirely (and display results in the echo-area at the
1088+
bottom) with the `cider-use-overlays` variable.
1089+
1090+
```el
1091+
(setq cider-use-overlays nil)
1092+
```
1093+
10751094
### Specifying indentation
10761095

10771096
It is common for macros to require special indentation mechanisms. This is most
@@ -1241,24 +1260,6 @@ CIDER integration for `eval-sexp-fu`.
12411260
(require 'cider-eval-sexp-fu)
12421261
```
12431262

1244-
### Overlays
1245-
1246-
When you evaluate code in Clojure files, the result is displayed in the buffer
1247-
itself, in an overlay right after the evaluated code. If you want this overlay
1248-
to be font-locked (syntax-highlighted) like Clojure code, set the following
1249-
variable.
1250-
1251-
```el
1252-
(setq cider-overlays-use-font-lock t)
1253-
```
1254-
1255-
You can disable overlays entirely (and display results in the echo-area at the
1256-
bottom) with the `cider-use-overlays` variable.
1257-
1258-
```el
1259-
(setq cider-use-overlays nil)
1260-
```
1261-
12621263
## Caveats
12631264

12641265
### ClojureScript limitations

0 commit comments

Comments
 (0)