summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-05-11 00:14:43 +1000
committerAlex Crichton <alex@alexcrichton.com>2014-05-12 19:52:29 -0700
commit5ebe4c7877f5704f7ef52baad0fbdb82c8a69593 (patch)
tree91aaee581ca391788955c2e2963508f49a9a3ef7 /rust-mode.el
parent9c94ec4c725409db247a8b7ef999794bb81032f3 (diff)
downloadrust-mode-5ebe4c7877f5704f7ef52baad0fbdb82c8a69593.tar.gz
emacs: highlight `macro_name!` in macro invocations using [] delimiters
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
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 :