Skip to content

Commit eac31e6

Browse files
committed
Update the var metadata caveat
1 parent 3e4379c commit eac31e6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,17 +1240,6 @@ bottom) with the `cider-use-overlays` variable.
12401240

12411241
## Caveats
12421242

1243-
### Var Metadata
1244-
1245-
Currently var metadata about the location of the var's definition within the
1246-
source code (file, line & column) is set only when evaluating the entire source
1247-
buffer (<kbd>C-c C-k</kbd>). All other interactive code evaluation commands
1248-
(e.g. <kbd>C-c C-e</kbd>) don't set this metadata and you won't be able to use
1249-
commands like `find-var` on such vars. That's a
1250-
[limitation of nREPL](http://dev.clojure.org/jira/browse/NREPL-59), that's
1251-
beyond CIDER. If you want to see interactive evaluation working properly in
1252-
CIDER you'll have to push for the aforementioned nREPL issue to be resolved.
1253-
12541243
### ClojureScript limitations
12551244

12561245
Currently, the following features are not supported for ClojureScript
@@ -1266,6 +1255,17 @@ There is currently no support for both Clojure and ClojureScript evaluation in
12661255
the same nREPL session. If Piggieback is active, code evaluation and all
12671256
features will assume ClojureScript.
12681257

1258+
#### Var Metadata
1259+
1260+
Currently var metadata about the location of the var's definition within the
1261+
ClojureScript source code (file, line & column) is set only when evaluating the
1262+
entire source buffer (<kbd>C-c C-k</kbd>). All other interactive code evaluation
1263+
commands (e.g. <kbd>C-c C-e</kbd>) don't set this metadata and you won't be able
1264+
to use commands like `find-var` on such vars. This is a limitation of nREPL and
1265+
piggieback, that's beyond CIDER. You can find some discussions on the subject
1266+
[here](http://dev.clojure.org/jira/browse/NREPL-59) and
1267+
[here](https://github.com/clojure-emacs/cider/issues/830).
1268+
12691269
### Microsoft Windows
12701270

12711271
On Microsoft Windows the JVM default line separator string is `\r\n`

0 commit comments

Comments
 (0)