Skip to content

Commit 6045a15

Browse files
committed
[Fix #339] Don't font-lock the / in keywords
1 parent a9badcc commit 6045a15

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
@@ -455,7 +455,7 @@ Called by `imenu--generic-function'."
455455
;; Character literals - \1, \a, \newline, \u0000
456456
("\\\\\\([[:punct:]]\\|[a-z0-9]+\\>\\)" 0 'clojure-character-face)
457457
;; foo/ Foo/ @Foo/ /FooBar
458-
("\\(?:\\<:?\\|\\.\\)@?\\([a-zA-Z][.a-zA-Z0-9$_-]*\\)/" 1 font-lock-type-face)
458+
("\\(?:\\<:?\\|\\.\\)@?\\([a-zA-Z][.a-zA-Z0-9$_-]*\\)\\(/\\)" (1 font-lock-type-face) (2 'default))
459459
;; Constant values (keywords), including as metadata e.g. ^:static
460460
("\\<^?\\(:\\(\\sw\\|\\s_\\)+\\(\\>\\|\\_>\\)\\)" 1 'clojure-keyword-face append)
461461
;; Java interop highlighting

0 commit comments

Comments
 (0)