diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2023-02-19 19:18:19 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2023-02-19 19:18:19 +0200 |
commit | 1ac05eac74bfd927de2d399cacc68a77ee72847d (patch) | |
tree | 00926cf169b720887b05016a9659545a66dfb23d /lisp/emacs-lisp | |
parent | b5bea14ca178b9f0c3944a9a14363c9923853814 (diff) | |
download | emacs-1ac05eac74bfd927de2d399cacc68a77ee72847d.tar.gz emacs-1ac05eac74bfd927de2d399cacc68a77ee72847d.tar.bz2 emacs-1ac05eac74bfd927de2d399cacc68a77ee72847d.zip |
rust-ts-mode--font-lock-settings: Avoid the explicit 'default' face
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--fontify-scope)
(rust-ts-mode--fontify-tail): New functions.
(rust-ts-mode--font-lock-settings): Use them instead of a lot of
more complex queries (bug#61302). Thus avoid having to create
block fontification by other features using the 'default' face.
Replace the catch-all query for 'variable' with an enumeration of
possible parent nodes.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions