Skip to content

Commit d7a55ba

Browse files
committed
Move some stacktrace-related config where it belongs
1 parent 8c0790b commit d7a55ba

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

README.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,22 @@ Keyboard shortcut | Description
764764
<kbd>d</kbd> | toggle display of duplicate frames
765765
<kbd>a</kbd> | toggle display of all frames
766766

767+
* Error buffer stacktraces may be filtered by default. Valid filter types
768+
include `java`, `clj`, `repl`, `tooling`, and `dup`. Setting this to `nil` will
769+
show all stacktrace frames.
770+
771+
```el
772+
(setq cider-stacktrace-default-filters '(tooling dup))
773+
```
774+
775+
* Error messages may be wrapped for readability. If this value is nil, messages
776+
will not be wrapped; if it is truthy but non-numeric, the default `fill-column`
777+
will be used.
778+
779+
```el
780+
(setq cider-stacktrace-fill-column 80)
781+
```
782+
767783
### Debugging
768784

769785
The debugger can be invoked in several ways, the simplest one is to type
@@ -941,23 +957,6 @@ make the hidden buffers visible. They'll always be visible in
941957
(setq cider-auto-select-error-buffer nil)
942958
```
943959

944-
* If using the `wrap-stacktrace` middleware from `cider-nrepl`, error buffer
945-
stacktraces may be filtered by default. Valid filter types include `java`,
946-
`clj`, `repl`, `tooling`, and `dup`. Setting this to `nil` will show all
947-
stacktrace frames.
948-
949-
```el
950-
(setq cider-stacktrace-default-filters '(tooling dup))
951-
```
952-
953-
* Error messages may be wrapped for readability. If this value is nil, messages
954-
will not be wrapped; if it is truthy but non-numeric, the default `fill-column`
955-
will be used.
956-
957-
```el
958-
(setq cider-stacktrace-fill-column 80)
959-
```
960-
961960
* Make <kbd>C-c C-z</kbd> switch to the CIDER REPL buffer in the current window:
962961

963962
```el

0 commit comments

Comments
 (0)