diff options
| author | Michael Kirkland <michael.kirkland.mk@protonmail.com> | 2025-03-23 15:10:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-23 15:10:48 +0100 |
| commit | 5a3873f40f4c4ddfa1fbf2c520a071b5aafb169f (patch) | |
| tree | d73e18d05322215433beb77090397509619ba658 | |
| parent | 38aeda6a8f4090b00f3c7fdb5188f80e04c556de (diff) | |
Update README.mdexternals/flymake-clippy
Include GNU ELPA as installation method
| -rw-r--r-- | README.md | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -16,6 +16,21 @@ ## Installation +### GNU ELPA + +1. Package can be installed directly from ELPA: + + `M-x package-install RET flymake-clippy RET` + +2. Add the following to your Emacs configuration: + + ```elisp + (use-package flymake-clippy + :hook ((rust-mode . flymake-clippy-setup)) + :custom (flymake-clippy-cargo-path "cargo") ; Optional: Specify the path to the `cargo' executable. + :config (add-hook 'rust-mode-hook #'flymake-mode)) + ``` + ### Manual Installation 1. Clone or download the repository to a local directory: @@ -28,7 +43,7 @@ ```elisp (use-package flymake-clippy - :load-path "~/path/to/flymake-clippy" + :load-path "~/path/to/flymake-clippy" ; Point to local repository :hook ((rust-mode . flymake-clippy-setup)) :custom (flymake-clippy-cargo-path "cargo") ; Optional: Specify the path to the `cargo' executable. :config (add-hook 'rust-mode-hook #'flymake-mode)) |
