Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7663004

Browse files
SophieBosiobbatsov
authored andcommittedDec 11, 2024
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

+1-1
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)
Please sign in to comment.