Fork me on GitHub
#cider
<
2015-10-09
>
boz18:10:42

My Cider repl highlights all parens, braces, brackets after getting a runtime exception. So far the only way I’ve got the highlights to stop is quitting Cider and reconnecting … is there a setting for this?

bozhidar19:10:30

can’t imagine what can be causing this

bozhidar19:10:41

might be some other mode you’re using together with the repl

jcsims19:10:14

usually when all the bracket types are highlighted for me, it’s just unbalanced parens @boz

jcsims19:10:38

next time it happens, try clearing the repl with C-c M-o, I believe it is?

malabarba19:10:45

@boz: Place the cursor on one of these highlighted parens and type C-u C-x =.

malabarba19:10:13

You'll get a buffer describing the character. Somewhere near the bottom it will tell you the overlays and faces being used on the character

malabarba19:10:40

The names of these faces should indicate where they're comming from

boz21:10:49

hmm. Having trouble reproducing the paren highlights thing. Got your notes though @jcsims and @malabarba. Thanks! Will try them if it happens again.

boz21:10:15

...just throwing a RuntimeException doesn't trigger it

malabarba21:10:45

Maybe the exception message had an unbalanced paren or somethng?

boz21:10:18

Could be. It was a much bigger stacktrace before because I was in the middle of learning ….

jcsims21:10:31

I usually trigger it when I try to paste some data structure into the repl (the unbalanced parens, that is)

boz21:10:08

yep, that did it 1] does it

boz21:10:00

C-c M-o cleared it Thanks!