-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
help wantedExtra attention is neededExtra attention is neededhighlightingAffects syntax highlightingAffects syntax highlighting
Description
Currently the syntax highlighting support for the discard reader macro (#_
) is limited to a single form, however Clojure supports stacking them which comments out subsequent forms.
;; Correctly highlighted:
(defn foo [x]
{:bar (+ x 1)
#_:biz #_(* x 2)})
;; Incorrectly highlighted:
(defn foo [x]
{:bar (+ x 1)
#_#_:biz (* x 2)})
It may not be possible to implement this behaviour, but is worth trying. If it isn't possible (to do efficiently) we may just disable the existing comment reader macro highlighting support by default for consistency.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededhighlightingAffects syntax highlightingAffects syntax highlighting