zenmacs / .emacs.d

3 stars 0 forks source link

Warn against clojure < 1.7.0 #262

Open vemv opened 5 years ago

vemv commented 5 years ago

Opening a clj project on-the-fly without any config works, but it will break is clojure version in project.clj is 1.5.1 or 1.6.0:

WARNING: CIDER's version (0.16.0) does not match cider-nrepl's version (nil). Things will break!
         More information.
WARNING: clj-refactor and refactor-nrepl are out of sync.

Happened to me with https://github.com/xeqi/peridot/tree/c9374aa78cd200effed8d569b8167a7b75675ff1 .

No overrides config would fix this; project.clj was at fault.

Interestingly, peridot actually set 1.8.0 here https://github.com/xeqi/peridot/blob/c9374aa78cd200effed8d569b8167a7b75675ff1/project.clj#L32 , but still doesn't prevent the problem.