emacs: highlight macro_name! in macro invocations using [] delimiters

This commit is contained in:
Huon Wilson 2014-05-11 00:14:43 +10:00 committed by Alex Crichton
parent 5518071019
commit 13491dbadb

View file

@ -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 :