Skip to content

Commit 8261674

Browse files
authored
[Fix #547] Fix character literal regexp (#560)
1 parent d39d5d5 commit 8261674

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

clojure-mode-font-lock-test.el

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,15 +884,30 @@ DESCRIPTION is the description of the spec."
884884
("\\a"
885885
(1 2 clojure-character-face))
886886

887+
("\\A"
888+
(1 2 clojure-character-face))
889+
887890
("\\newline"
888891
(1 8 clojure-character-face))
889892

893+
("\\abc"
894+
(1 4 nil))
895+
896+
("\\newlin"
897+
(1 7 nil))
898+
899+
("\\newlinex"
900+
(1 9 nil))
901+
890902
("\\1"
891903
(1 2 clojure-character-face))
892904

893905
("\\u0032"
894906
(1 6 clojure-character-face))
895907

908+
("\\o127"
909+
(1 4 clojure-character-face))
910+
896911
("\\+"
897912
(1 2 clojure-character-face))
898913

@@ -903,6 +918,12 @@ DESCRIPTION is the description of the spec."
903918
(1 2 clojure-character-face))
904919

905920
("\\;"
921+
(1 2 clojure-character-face))
922+
923+
("\\Ω"
924+
(1 2 clojure-character-face))
925+
926+
("\\"
906927
(1 2 clojure-character-face)))
907928

908929
(when-fontifying-it "should handle referred vars"

0 commit comments

Comments
 (0)