GNU bug report logs -
#70260
[PATCH] Flymake support for rust-ts-mode (clippy-driver)
Previous Next
Reported by: Dmitry Gutov <dmitry <at> gutov.dev>
Date: Sun, 7 Apr 2024 16:44:02 UTC
Severity: normal
Tags: patch
Fixed in version 30.1
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sunday, April 7th, 2024 at 20:26, Dmitry Gutov <dmitry <at> gutov.dev> wrote:
>
>
> Minor fix and a TODO comment for the "cargo clippy" case.
>
> On 07/04/2024 19:42, Dmitry Gutov wrote:
>
> > X-Debbugs-Cc: Randy Taylor dev <at> rjt.dev
> >
> > Hi Randy and others,
> >
> > Here's a patch adding rust-ts-mode <-> flymake-mode integration using
> > clippy.
> >
> > Feedback welcome.
Thanks for working on this.
I'm not really familiar with flymake integration, but this
looks good to me. I have a few nits below.
+(defcustom rust-ts-flymake-command '("clippy-driver" "-")
+ "The external tool that will be used to perform the syntax check.
^^^^^^^^^^^^^^^^
maybe just "the check"?
Or something similar, since more is being done than just syntax checking.
+This is a non empty list of strings, the checker tool possibly followed
^^^^^^^^^ ^
non-empty? A colon would work well here.
+(defvar rust-ts--flymake-proc nil)
Should this be defvar-local?
+ ;; Flymake
^
A period at the end would make me happy :).
This bug report was last modified 1 year and 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.