]> git.eshelyaron.com Git - emacs.git/commit
Fix fontification for else in macro body in rust-ts-mode
authorYuan Fu <casouri@gmail.com>
Thu, 2 May 2024 04:21:00 +0000 (21:21 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:32:13 +0000 (18:32 +0200)
commit991f9ae2e4fd6092f350c991a63b4762e5f771fb
treea320137ea6def1916a0747d051ac579a8cc61375
parent135a6c88568929f6af2506b98bd90da996280b3a
Fix fontification for else in macro body in rust-ts-mode

* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--font-lock-settings):
Add a rule for else in macro body.  Also added the same rule for "in"
and "move" keyword, as they seems to have the same problem.

(cherry picked from commit 07c47ea002b4702285bbf467ec09c9b281eb19b7)
lisp/progmodes/rust-ts-mode.el