emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 5ebe4c7 080/486: emacs: highlight `macro_name!`


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 5ebe4c7 080/486: emacs: highlight `macro_name!` in macro invocations using [] delimiters
Date: Sat, 7 Aug 2021 09:24:53 -0400 (EDT)

branch: elpa/rust-mode
commit 5ebe4c7877f5704f7ef52baad0fbdb82c8a69593
Author: Huon Wilson <dbau.pp+github@gmail.com>
Commit: Alex Crichton <alex@alexcrichton.com>

    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 :



reply via email to

[Prev in Thread] Current Thread [Next in Thread]