[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/flymake-clippy bb2fbe0971 10/16: Update README.md
From: |
ELPA Syncer |
Subject: |
[elpa] externals/flymake-clippy bb2fbe0971 10/16: Update README.md |
Date: |
Sat, 22 Mar 2025 09:58:37 -0400 (EDT) |
branch: externals/flymake-clippy
commit bb2fbe0971a7bc7f3a0c3dcec5dc0c07e5001934
Author: Michael Kirkland <michael.kirkland.mk@protonmail.com>
Commit: Michael Kirkland <mak.kirkland@proton.me>
Update README.md
---
README.md | 46 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 36 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 567810c674..fce449d9cf 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,39 @@
-Flymake backend for Clippy, displaying lint diagnostics as overlays in the
buffer.
+# clippy-flymake
-Based on an
[example](https://www.gnu.org/software/emacs/manual/html_mono/flymake.html#An-annotated-example-backend)
provided in the official Flymake manual.
+`clippy-flymake` is an Emacs package that integrates
[Clippy](https://doc.rust-lang.org/clippy/), a linter for the Rust programming
language, with the Flymake diagnostics system. It provides real-time linting
feedback directly in your Emacs buffers using cargo clippy.
-Usage:
+## Features
-```elisp
-(use-package clippy-flymake
- :load-path "~/workspace/clippy-flymake"
- :hook ((rust-mode . clippy-flymake-setup))
- :config
- (add-hook 'rust-mode-hook #'flymake-mode))
-```
+- Runs `cargo clippy` automatically for Rust code.
+- Integrates with Emacs' Flymake for live linting feedback.
+- Displays Clippy diagnostics in the Emacs buffer.
+- Supports error, warning, and help messages with suggestions for fixing
issues.
+
+## Dependencies
+
+- Emacs 27 or later.
+- Rust with `cargo` and `clippy` installed.
+
+## Installation
+
+### Manual Installation
+
+1. Clone or download the repository to a local directory:
+
+ ```bash
+ git clone https://github.com/SiberzK/clippy-flymake.git
+ ```
+
+2. Add the following to your Emacs configuration:
+
+ ```elisp
+ (use-package clippy-flymake
+ :load-path "~/path/to/clippy-flymake"
+ :hook ((rust-mode . clippy-flymake-setup))
+ :custom (clippy-flymake-cargo-path "cargo") ; Optional: Specify the path
to the `cargo' executable.
+ :config (add-hook 'rust-mode-hook #'flymake-mode))
+ ```
+
+## License
+
+This package is free software and is distributed under the terms of the GNU
General Public License v3.0.
- [elpa] externals/flymake-clippy 90a11927ae 11/16: Rename clippy-flymake to flymake-clippy, (continued)
- [elpa] externals/flymake-clippy 90a11927ae 11/16: Rename clippy-flymake to flymake-clippy, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 907520f340 15/16: Remove unused binding, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 32672bb8f4 13/16: Fix minor typos in docstrings, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 72609e0d1f 12/16: Explicity require json library, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 66247bdd45 14/16: If cargo not found, log and fail gracefully rather than erroring, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy e634763a84 16/16: Include URL in header, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy c518825c48 03/16: Create README.md, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 94d297a5ed 08/16: Introduce `clippy-flymake-cargo-path' as a custom user option, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 24e5c13ae9 01/16: Initial commit, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy 0f0f720daa 04/16: Update documentation, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy bb2fbe0971 10/16: Update README.md,
ELPA Syncer <=
- [elpa] externals/flymake-clippy 2ff39165ac 06/16: Fallback message level to :note, ELPA Syncer, 2025/03/22
- [elpa] externals/flymake-clippy d4602a6a71 05/16: Hide the Clippy process buffer from `C-x b', ELPA Syncer, 2025/03/22