emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 b0b24ad2fc5: Add missing rust-ts-mode highlight query for scope


From: Dmitry Gutov
Subject: emacs-29 b0b24ad2fc5: Add missing rust-ts-mode highlight query for scoped_type_identifiers
Date: Sat, 11 Mar 2023 08:56:04 -0500 (EST)

branch: emacs-29
commit b0b24ad2fc579537e512f0c6654f35d4ca22a1b6
Author: Randy Taylor <dev@rjt.dev>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Add missing rust-ts-mode highlight query for scoped_type_identifiers
    
    * lisp/progmodes/rust-ts-mode.el (rust-ts-mode--font-lock-settings):
    Add missing query.
---
 lisp/progmodes/rust-ts-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/rust-ts-mode.el b/lisp/progmodes/rust-ts-mode.el
index 696c2633231..5a4f4dc25c0 100644
--- a/lisp/progmodes/rust-ts-mode.el
+++ b/lisp/progmodes/rust-ts-mode.el
@@ -235,6 +235,7 @@
        
"^\\(u8\\|u16\\|u32\\|u64\\|u128\\|usize\\|i8\\|i16\\|i32\\|i64\\|i128\\|isize\\|char\\|str\\)$"
        @font-lock-type-face))
      ((scoped_identifier path: (identifier) @rust-ts-mode--fontify-scope))
+     ((scoped_type_identifier path: (identifier) @rust-ts-mode--fontify-scope))
      (type_identifier) @font-lock-type-face)
 
    :language 'rust



reply via email to

[Prev in Thread] Current Thread [Next in Thread]