diff options
| author | mgmarlow <graham@mgmarlow.com> | 2023-08-08 16:28:05 -0700 |
|---|---|---|
| committer | mgmarlow <graham@mgmarlow.com> | 2023-08-08 16:28:05 -0700 |
| commit | f488c7df2f56635dea0576ea2872c4c94b584a67 (patch) | |
| tree | fce65965321e60d4959e3b34575497fd33cf6281 | |
| parent | fb4ce2e9b9f7703bd38a2acc2595a02f3822cac7 (diff) | |
| download | flymake-clippy-f488c7df2f56635dea0576ea2872c4c94b584a67.tar.gz | |
Update docs with MELPA release
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | flymake-clippy.el | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -1,16 +1,17 @@ # flymake-clippy +[](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: |
