diff options
| author | Tom Tromey <tom@tromey.com> | 2018-06-07 08:49:29 -0600 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2018-06-07 08:49:29 -0600 |
| commit | e20140426e4a7331ef4055d26744b4c27848a361 (patch) | |
| tree | d6fc439ebae05972ed96b48347acf139eefb8116 /rust-mode-tests.el | |
| parent | 07e16c6364bf0362f76c6aa46604453dec3ac640 (diff) | |
| download | rust-mode-e20140426e4a7331ef4055d26744b4c27848a361.tar.gz | |
Fix font-locking of "let ref"
Fixes #271
Diffstat (limited to 'rust-mode-tests.el')
| -rw-r--r-- | rust-mode-tests.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index 3e6c67a..64d65c4 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -1297,6 +1297,11 @@ list of substrings of `STR' each followed by its face." '("let" font-lock-keyword-face "foo" font-lock-variable-name-face)) (rust-test-font-lock + "let ref foo;" + '("let" font-lock-keyword-face + "ref" font-lock-keyword-face + "foo" font-lock-variable-name-face)) + (rust-test-font-lock "let mut foo;" '("let" font-lock-keyword-face "mut" font-lock-keyword-face |
