Skip to content

Commit f1c3d72

Browse files
committed
emacs mode
1 parent 2088ea6 commit f1c3d72

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

emacs/bracery-mode.el

+4-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
("&~?[A-Za-z0-9_]+{[^}]*}{[^}]*}" . font-lock-function-name-face)
3333
("&~?[A-Za-z0-9_]+{[^}]*}" . font-lock-function-name-face)
3434
("#\\([A-Za-z0-9_]+\\)#" 1 'italic t)
35-
("~[~\\*]?\\([A-Za-z0-9_]+\\)" 1 'italic t)
36-
("~{\\([A-Za-z0-9_]+\\)}" 1 'italic t)
37-
("~[~\\*]\\([A-Za-z0-9_]+\\)" 1 'bold-italic t)
35+
("\\(~[~\\*]?[A-Za-z0-9_]+\\)" 1 'italic t)
36+
("\\(~{[A-Za-z0-9_]+\\)}" 1 'italic t)
37+
("\\(~[~\\*][A-Za-z0-9_]+\\)" 1 'bold-italic t)
38+
("#[#\*][A-Za-z0-9_]+" . font-lock-type-face) ;; ##TAG or #*TAG
3839
("=[^{ ]+" . font-lock-type-face)
3940
("={.*}" . font-lock-type-face)
4041
(":=[^{ ]+" . font-lock-type-face)

0 commit comments

Comments
 (0)