marginalia icon indicating copy to clipboard operation
marginalia copied to clipboard

Marginalia's syntax highlighting breaks if you have a comment as the last line of a function

Open dgrnbrg opened this issue 12 years ago • 0 comments

This breaks syntax highlighting for every function that comes after this function:

(defn breakage
  []
  ;break
  )

This is because marginalia rewrites this to

(defn breakage
  []
  ;break)

which breaks the syntax highlighting code sometimes. I cannot figure out how to reliably break it, though.

Feel free to close this issue if there isn't enough to triage, or if you've never seen it crop up.

dgrnbrg avatar Aug 08 '12 21:08 dgrnbrg