clojure-mode icon indicating copy to clipboard operation
clojure-mode copied to clipboard

Syntax highlighting for #_ forms comments out next form

Open danielcompton opened this issue 9 years ago • 2 comments

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 https://github.com/clojure-emacs/cider/issues/1822

danielcompton avatar Aug 21 '16 20:08 danielcompton

autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it

MalloZup avatar Aug 05 '19 21:08 MalloZup

This should be closed by #545 too :)

yuhan0 avatar Dec 08 '19 12:12 yuhan0