Skip to content

Commit 7663004

Browse files
SophieBosiobbatsov
authored andcommitted
Recognize hyphen or end of comment
1 parent 740ca69 commit 7663004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ renaming a namespace."
22662266
(defconst clojure-def-type-and-name-regex
22672267
(concat "(\\(?:\\(?:\\sw\\|\\s_\\)+/\\)?"
22682268
;; Declaration
2269-
"\\(def\\(?:\\sw\\|\\s_\\)*\\)\\>"
2269+
"\\(def\\(?:\\sw\\|\\s_\\)*\\(?:-\\|\\>\\)\\)"
22702270
;; Any whitespace
22712271
"[ \r\n\t]*"
22722272
;; Possibly type or metadata

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy