branch: elpa/rust-mode
commit 5ebe4c7877f5704f7ef52baad0fbdb82c8a69593
Author: Huon Wilson <[email protected]>
Commit: Alex Crichton <[email protected]>
emacs: highlight `macro_name!` in macro invocations using [] delimiters
---
rust-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-mode.el b/rust-mode.el
index f9142cd..175592d 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -217,7 +217,7 @@
1 font-lock-preprocessor-face)
;; Syntax extension invocations like `foo!`, highlight including the !
- (,(concat (rust-re-grab (concat rust-re-ident "!")) "[({[:space:]]")
+ (,(concat (rust-re-grab (concat rust-re-ident "!")) "[({[:space:][]")
1 font-lock-preprocessor-face)
;; Field names like `foo:`, highlight excluding the :