From a5591428c0b147c024c2c1a7ebdcc6743ff18f4f Mon Sep 17 00:00:00 2001 From: Peter Oliver Date: Wed, 3 Jul 2024 14:21:26 +0100 Subject: [PATCH] Document that Emacs users can get "perlimports --lint" via Flycheck --- Changes | 2 ++ script/perlimports | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 3f33a89..a321c16 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for App-perlimports {{$NEXT}} + - Document that Emacs users can get "perlimports --lint" via Flycheck + (Peter Oliver) 0.000054 2024-06-29 19:32:58Z - Don't treat locally defined subs as importable symbols (GH#110) (Olaf diff --git a/script/perlimports b/script/perlimports index 7dbc9e8..7a5dfe5 100755 --- a/script/perlimports +++ b/script/perlimports @@ -490,7 +490,8 @@ editor plugin or extension, you can probably ignore this. =head2 --read-stdin Read statements to process from STDIN rather than processing the entire file. -This is intended for use by editors, like C. See the C heading below +This is intended for use by editors, like C. See the +L section below for more information on how to set up an integration with your editor. If this option is enabled, then C<--inplace-edit|-i> is not available. @@ -583,6 +584,11 @@ C. let ale_fixers.perl = ['perlimports', 'perltidy'] execute ale#fix#registry#Add('perlimports', 'Perlimports', ['perl'], 'Tidy Perl imports') +=head2 Emacs and Flycheck + +L 35 and newer will suggest changes +from C automatically if it finds that it is installed. + =head2 precious If you're a L user, your