Fork me on GitHub
#cursive
<
2023-04-29
>
Takis_02:04:49

i will do the same, but i think its good to be added to cursive if possible sometime, to like say not highlight as unknown symbols starting with ? or a regex match maybe, so we can have variables of the DSL

Matthew Davidson (kingmob)06:04:17

Can we get support for the new .clj_kondo extension?

borkdude07:04:32

Note that this extension was specifically added to let tools like Cursive and tools.namespace not load and analyze these files so they would not conflict with their Clojure equivalents, so as long as there is separate handling with respect to navigation etc. it would be ok, but otherwise this file would be best ignored by Cursive

cfleming10:04:03

Is there some doc about this? It’s hard to google separate from kondo itself.

borkdude10:04:56

@U0567Q30W https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md clj-kondo configuration contain .clj files to expand macros inside of an interpreter, but this has caused conflicts with cursive in the past when navigation would end up in the clj-kondo configuration rather than inside of the library code. This is why .clj_kondo is also supported for hook code to help tools not analyze/run that code.