diff options
| -rw-r--r-- | lisp/progmodes/rust-ts-mode.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/rust-ts-mode.el b/lisp/progmodes/rust-ts-mode.el index 25f1df4a9f9..7bc05898d15 100644 --- a/lisp/progmodes/rust-ts-mode.el +++ b/lisp/progmodes/rust-ts-mode.el | |||
| @@ -213,7 +213,11 @@ to be checked as its standard input." | |||
| 213 | 213 | ||
| 214 | :language 'rust | 214 | :language 'rust |
| 215 | :feature 'keyword | 215 | :feature 'keyword |
| 216 | `([,@rust-ts-mode--keywords] @font-lock-keyword-face) | 216 | `([,@rust-ts-mode--keywords] @font-lock-keyword-face |
| 217 | ;; If these keyword are in a macro body, they're marked as | ||
| 218 | ;; identifiers. | ||
| 219 | ((identifier) @font-lock-keyword-face | ||
| 220 | (:match ,(rx (or "else" "in" "move")) @font-lock-keyword-face))) | ||
| 217 | 221 | ||
| 218 | :language 'rust | 222 | :language 'rust |
| 219 | :feature 'number | 223 | :feature 'number |