From b3a4a8621713160e6e5794fd624931585af016f6 Mon Sep 17 00:00:00 2001 From: Graham Marlow Date: Sat, 30 Dec 2023 08:17:00 -0800 Subject: [PATCH] Update README with MELPA --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3813436..584a2e9 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,18 @@ # flymake-fennel +[![MELPA](https://melpa.org/packages/flymake-fennel-badge.svg)](https://melpa.org/#/flymake-fennel) + Flymake backend for [Fennel](https://fennel-lang.org). ## Installation -Make sure you have -[fennel-mode](https://git.sr.ht/~technomancy/fennel-mode) installed. +You probably want to install +[fennel-mode](https://git.sr.ht/~technomancy/fennel-mode) first. -Install from VC: +Install `flymake-fennel` from +[MELPA](https://melpa.org/#/getting-started): ``` -M-x package-vc-install RET https://git.sr.ht/~mgmarlow/flymake-fennel +(use-package flymake-fennel + :hook (fennel-mode . flymake-fennel-setup-backend)) ``` - -Add `flymake-fennel` to your Emacs config: - -```elisp -(add-hook 'fennel-mode-hook #'flymake-fennel-setup) -``` - -- 2.45.2