parent
4fdc27e55e
commit
fca57b3aee
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@
|
|||
(,(regexp-opt rust-special-types 'words) . font-lock-type-face)
|
||||
|
||||
;; Attributes like `#[bar(baz)]` or `#![bar(baz)]`
|
||||
(,(rust-re-grab (concat "#\\!?[" rust-re-ident "[^]]*\\]"))
|
||||
(,(rust-re-grab (concat "#\\!?\\[" rust-re-ident "[^]]*\\]"))
|
||||
1 font-lock-preprocessor-face)
|
||||
|
||||
;; Syntax extension invocations like `foo!`, highlight including the !
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue