]> git.eshelyaron.com Git - emacs.git/commit
Add Flymake backend to rust-ts-mode using Clippy
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 9 Apr 2024 19:39:32 +0000 (22:39 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:30:29 +0000 (22:30 +0200)
commita2ffb127ad549b457962c1dc0e1a5bc7d84f13e5
treed2db666fc8797427f2c40fd9f6d920dba7deda2f
parentd765d5b884b1b2ae8a72fa8ffd3adfedf789ff7c
Add Flymake backend to rust-ts-mode using Clippy

* lisp/progmodes/rust-ts-mode.el (rust-ts-flymake-command):
New option (bug#70260).
(rust-ts--flymake-proc): New variable.
(rust-ts-flymake--helper): New function.
(rust-ts-flymake): New function.
(rust-ts-mode): Add it to flymake-diagnostic-functions.

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