Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that Emacs users can get "perlimports --lint" via Flycheck #112

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading