Skip to content

Commit 2cf589c

Browse files
cichlibbatsov
authored andcommitted
Fix font locking for non-alphanumeric chars in dynamic var names
1 parent f88c05a commit 2cf589c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clojure-mode-font-lock-test.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,8 @@ POS."
822822
(should (eq (clojure-test-face-at 2 11 "@*some-var*")
823823
'font-lock-variable-name-face))
824824
(should (eq (clojure-test-face-at 9 13 "some.ns/*var*")
825+
'font-lock-variable-name-face))
826+
(should (eq (clojure-test-face-at 1 11 "*some-var?*")
825827
'font-lock-variable-name-face)))
826828

827829
(provide 'clojure-mode-font-lock-test)

0 commit comments

Comments
 (0)