[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode dea81aa 334/486: Types get correct font-lock in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode dea81aa 334/486: Types get correct font-lock in if-let statements |
Date: |
Sat, 7 Aug 2021 09:25:47 -0400 (EDT) |
branch: elpa/rust-mode
commit dea81aa7cc0d162d863e39113ebb9e389651f671
Author: Jonas Westlund <jonaswestlund101@gmail.com>
Commit: Jonas Westlund <jonaswestlund101@gmail.com>
Types get correct font-lock in if-let statements
---
rust-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rust-mode.el b/rust-mode.el
index 97b5c3c..72109e5 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -682,6 +682,9 @@ match data if found. Returns nil if not within a Rust
string."
;; Field names like `foo:`, highlight excluding the :
(,(concat (rust-re-grab rust-re-ident) ":[^:]") 1
font-lock-variable-name-face)
+ ;; CamelCase Means Type Or Constructor
+ (,rust-re-type-or-constructor 1 font-lock-type-face)
+
;; Type-inferred binding
(,(concat "\\_<\\(?:let\\|ref\\)\\s-+\\(?:mut\\s-+\\)?" (rust-re-grab
rust-re-ident) "\\_>") 1 font-lock-variable-name-face)
@@ -694,9 +697,6 @@ match data if found. Returns nil if not within a Rust
string."
;; Lifetimes like `'foo`
(,(concat "'" (rust-re-grab rust-re-ident) "[^']") 1
font-lock-variable-name-face)
- ;; CamelCase Means Type Or Constructor
- (,rust-re-type-or-constructor 1 font-lock-type-face)
-
;; Question mark operator
("\\?" . 'rust-question-mark-face)
)
- [nongnu] elpa/rust-mode e452995 261/486: rust--after-revert-hook should preserve point position., (continued)
- [nongnu] elpa/rust-mode e452995 261/486: rust--after-revert-hook should preserve point position., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode d2e57a9 263/486: fix regex to account for `[E123]`, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode bec3d0c 267/486: Test #169, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 7fb78d4 273/486: Bump version, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode f6cf013 275/486: Add instructions for version tag update requests, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 4935090 279/486: convert http links into https links, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b8126e4 284/486: Recognize "extern" imenu items, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode a436945 294/486: Merge pull request #172 from nokaa/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 954221f 316/486: Define `rust-test-project-located' conditionally instead of using `skip-unless'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 1d4a75f 324/486: Make rust-beginning-of-defun ignore comments and strings, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode dea81aa 334/486: Types get correct font-lock in if-let statements,
ELPA Syncer <=
- [nongnu] elpa/rust-mode ac5dac0 335/486: Added test for if-let font lock, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 6550d94 336/486: Renamed and relocated if-let font-lock test, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode a814cd8 338/486: Pass 'visible to get-buffer-window, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode c8280ae 339/486: Merge pull request #235 from tromey/get-buffer-window-fixlet, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode fca71c6 342/486: feat(rust-mode): add yield to the keywords list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode eae291a 343/486: Merge pull request #240 from michael-zapata/feat/add-yield-keyword, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b7cd368 346/486: % as punctuation character., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 04e3078 347/486: Merge pull request #244 from kubo39/percent-as-punctuation-character, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b911835 356/486: Merge pull request #262 from kngwyu/highlight-dyn, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode cc2435b 359/486: Merge pull request #264 from jjwest/master, ELPA Syncer, 2021/08/07