summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormgmarlow <graham@mgmarlow.com>2023-08-08 16:28:05 -0700
committermgmarlow <graham@mgmarlow.com>2023-08-08 16:28:05 -0700
commitf488c7df2f56635dea0576ea2872c4c94b584a67 (patch)
treefce65965321e60d4959e3b34575497fd33cf6281
parentfb4ce2e9b9f7703bd38a2acc2595a02f3822cac7 (diff)
downloadflymake-clippy-f488c7df2f56635dea0576ea2872c4c94b584a67.tar.gz
Update docs with MELPA release
-rw-r--r--README.md8
-rw-r--r--flymake-clippy.el4
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index b937488..3ff7a7f 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,17 @@
# flymake-clippy
+[![MELPA](https://melpa.org/packages/flymake-coffee-badge.svg)](https://melpa.org/#/flymake-coffee)
+
A Flymake backend for [Clippy](https://doc.rust-lang.org/stable/clippy/index.html), the Rust linter.
## Instructions
You probably want to install [rust-mode](https://github.com/rust-lang/rust-mode) first.
-With Emacs 30:
+Install from MELPA:
``` elisp
(use-package flymake-clippy
- :vc (:url "https://git.sr.ht/~mgmarlow/flymake-clippy" :branch main)
:hook (rust-mode . flymake-clippy-setup-backend))
```
@@ -25,8 +26,6 @@ git clone https://git.sr.ht/~mgmarlow/flymake-clippy /path/to/flymake-clippy
(require 'flymake-clippy)
```
-Emacs versions prior to 30 can also install [use-package](https://github.com/jwiegley/use-package) and [vc-use-package](https://github.com/slotThe/vc-use-package) for an easier setup.
-
### Eglot users
Eglot users require [a little extra setup](https://github.com/joaotavora/eglot/issues/268) to enable running multiple Flymake backends simultaneously. Add the following to your Emacs config:
@@ -62,7 +61,6 @@ Emacs 30, eglot 1.6+:
:ensure t)
(use-package flymake-clippy
- :vc (:url "https://git.sr.ht/~mgmarlow/flymake-clippy" :branch main)
:hook (rust-mode . flymake-clippy-setup-backend))
(defun manually-activate-flymake ()
diff --git a/flymake-clippy.el b/flymake-clippy.el
index 2ecf61e..7925362 100644
--- a/flymake-clippy.el
+++ b/flymake-clippy.el
@@ -24,7 +24,9 @@
;;; Commentary:
;; Flymake backend for Clippy, the Rust linter.
-;; https://doc.rust-lang.org/stable/clippy/index.html
+;;
+;; (use-package flymake-clippy
+;; :hook (rust-mode . flymake-clippy-setup-backend))
;;; Code: