Skip to content

Commit

Permalink
Document that Emacs users can get "perlimports --lint" via Flycheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mavit committed Jul 3, 2024
1 parent a3f4830 commit a559142
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 7 additions & 1 deletion script/perlimports
Original file line number Diff line number Diff line change
Expand Up @@ -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<vim>. See the C<vim> heading below
This is intended for use by editors, like C<vim>. See the
L</INTEGRATIONS> 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.
Expand Down Expand Up @@ -583,6 +584,11 @@ C<perlimports>.
let ale_fixers.perl = ['perlimports', 'perltidy']
execute ale#fix#registry#Add('perlimports', 'Perlimports', ['perl'], 'Tidy Perl imports')

=head2 Emacs and Flycheck

L<Flycheck|https://www.flycheck.org/> 35 and newer will suggest changes
from C<perlimports> automatically if it finds that it is installed.

=head2 precious

If you're a L<https://github.com/houseabsolute/precious> user, your
Expand Down

0 comments on commit a559142

Please sign in to comment.