Fork me on GitHub
#conjure
<
2021-03-23
>
orestis08:03:38

Is there a way to keep syntax highlighting in the Conjure log but avoid clj-kondo giving me lint errors? Not a huge deal but a bit distracting.

borkdude08:03:55

@orestis is the Conjure log a clojure file?

orestis08:03:16

It's a cljc buffer, in Clojure mode.

orestis08:03:37

But I think it should be an .edn buffer instead. Not sure if Vim provides such a distinction.

orestis08:03:31

I'm not sure it's even a real file 🙂

Olical09:03:02

It's not a real files, it's a scratch buffer that half pretends to be Clojure so all of you editing tools work as expected in there. I think the best route is configuring kondo to ignore it (thanks, @borkdude!)

orestis14:03:05

Oh I guess clj-kondo needs just a regex for the filename as reported by the editor, not an actual filesystem glob pattern...

borkdude14:03:49

it's an unescaped regex