Fork me on GitHub
#cider
<
2016-03-08
>
pre00:03:00

current user of cider 0.11.0, and I get the following error when I added squiggly-clojure, per the instructions on readme - https://github.com/clojure-emacs/squiggly-clojure

pre00:03:11

Error while checking syntax automatically: (void-function nrepl-current-connection-buffer)

pre00:03:25

any idea?

malabarba02:03:59

Squiggly clojure probably needs to be updated. Cider version 0.10.0 changed a lot of the internal functions

bozhidar05:03:58

some functions were deprecated in 0.10 and removed in 0.11

bozhidar05:03:06

this is one of them

base69805:03:27

@malabarba I have a pmap going and when i debug a function that is being called in the pmap function it has a lot of values.

daemianmack15:03:13

as of Cider 0.10.0 or thereabouts, function names started displaying in the font-lock-function-name-face in every reference, not just the var definition. it happens for each buffer when i cider-load-buffer. is there a means of disabling this behavior?

daemianmack15:03:59

for clarity, before i cider-load-buffer, i see this desired behavior: https://www.dropbox.com/s/t2psey5yk9yl3s4/Screenshot%202016-03-08%2010.22.58.png?dl=0 after i cider-load-buffer, i see this undesired behavior… https://www.dropbox.com/s/o29ptvtuub5ng69/Screenshot%202016-03-08%2010.20.53.png?dl=0

malabarba15:03:42

@daemianmack yes. See the cider-dynamic-font-lock variable

malabarba15:03:02

Or cider-dynamic-font-locking, can't recall now

malabarba15:03:34

You probably want to remove core from that list. You can also just set it to nil, but that'll also disable dynamic macro font locking, which you might still want.

daemianmack16:03:37

@malabarba: thanks! cider-font-lock-dynamically is just the handle i was looking for.

malabarba17:03:14

Ah yes. That's the name. 😛

bozhidar21:03:20

I'd appreciate it if everyone upvoted this Clojure ticket http://dev.clojure.org/jira/browse/CLJ-1398

bozhidar21:03:45

as it affects CIDER's javadoc lookup

bozhidar21:03:15

in the end we might end up patching this in cider, but it's annoying that such small things are not fixed for years upstream

base69821:03:06

@bozidar voted