Skip to content

Syntax highlighting for #_ forms comments out next form #404

Open
@danielcompton

Description

@danielcompton

Expected behavior

When using the #_ reader macro, you can chain several together. This lets you comment out more than one form at a time. However the Cider syntax highlighting uses the first #_ to comment out the second one. For example:

In Cursive:

screenshot of intellij idea 12-08-16 8-08-51 am

## Actual behavior

In emacs:

screenshot of emacs 12-08-16 8-05-56 am

## Steps to reproduce the problem
#_ #_ :a :b

Environment & Version information

clojure-mode version information

clojure-mode (version 5.5.2)

Emacs version

25.1.50.1

Operating system

OS X 10.11.6

Carried over from clojure-emacs/cider#1822

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions