calva
calva copied to clipboard
notebooks don't handle reader macros well
This is mostly a problem around clj-kondo ignore statements but also happens with other reader macros.
#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]}
(def a 1)
Produces two cells, where the first only contains #_.
This is probably happening because the LispTokenCursor calva uses to walk the file ignores commented s-expressions.
Slightly related issue:
- #2100