Skip to content

Commit 13491db

Browse files
huonwalexcrichton
authored andcommitted
emacs: highlight macro_name! in macro invocations using [] delimiters
1 parent 5518071 commit 13491db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
1 font-lock-preprocessor-face)
218218

219219
;; Syntax extension invocations like `foo!`, highlight including the !
220-
(,(concat (rust-re-grab (concat rust-re-ident "!")) "[({[:space:]]")
220+
(,(concat (rust-re-grab (concat rust-re-ident "!")) "[({[:space:][]")
221221
1 font-lock-preprocessor-face)
222222

223223
;; Field names like `foo:`, highlight excluding the :

0 commit comments

Comments
 (0)