clojure-emacs / squiggly-clojure

Flycheck checker for Clojure, using eastwood and core.typed.
GNU General Public License v3.0
204 stars 25 forks source link

eastwood and boot #51

Closed francesco-bracchi closed 6 years ago

francesco-bracchi commented 7 years ago

I'm using boot for a clojure project. Unfortunately file names reported by the eastwood syntax checker are absolute but located into the boot cache directory(~/.boot/cache), so the function flycheck-clojure-parse-cider-errors reports the wrong file name. This patch fixes this issue for my case, (boot version 2.7.1).

pnf commented 7 years ago

Thanks for doing this. Other people have had boot issues, but I don't use boot myself and was too lazy to set it up just to reproduce the observations. I'm slightly worried about the hard-coded, unix-centric path though. Is there a way to extract the boot prefix programmatically?