projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cf69f
)
Add missing rust-ts-mode highlight query for scoped_type_identifiers
author
Randy Taylor
<dev@rjt.dev>
Sat, 11 Mar 2023 02:12:33 +0000
(21:12 -0500)
committer
Dmitry 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/rust-ts-mode.el
b/lisp/progmodes/rust-ts-mode.el
index 696c26332319eaaa5e56ad71563497336413efbd..5a4f4dc25c02046e1b28efd3036913b4608d3e17 100644
(file)
--- 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