]> git.eshelyaron.com Git - emacs.git/commitdiff
Add missing rust-ts-mode highlight query for scoped_type_identifiers
authorRandy Taylor <dev@rjt.dev>
Sat, 11 Mar 2023 02:12:33 +0000 (21:12 -0500)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 11 Mar 2023 13:52:35 +0000 (15:52 +0200)
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--font-lock-settings):
Add missing query.

lisp/progmodes/rust-ts-mode.el

index 696c26332319eaaa5e56ad71563497336413efbd..5a4f4dc25c02046e1b28efd3036913b4608d3e17 100644 (file)
        "^\\(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