emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/highlight-parentheses abb7afb: Release version 2.1.0


From: ELPA Syncer
Subject: [nongnu] elpa/highlight-parentheses abb7afb: Release version 2.1.0
Date: Sat, 21 Aug 2021 16:57:31 -0400 (EDT)

branch: elpa/highlight-parentheses
commit abb7afb481820e883afd55ed8ee9708a6c36f8ff
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Release version 2.1.0
---
 README.md                | 37 +++++++++++++++++++++++++++++++++----
 highlight-parentheses.el |  2 +-
 2 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 436b32f..18c5952 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,15 @@
-# highlight-parentheses.el: Highlights parentheses surrounding point in Emacs
+# highlight-parentheses: Highlights parentheses surrounding point in Emacs
+
+`highlight-parentheses.el` dynamically highlights the parentheses surrounding
+point based on nesting-level using configurable lists of colors, background
+colors, and other properties.
+
+## Screenshot
+
+See how parens are fontified in different shades of red based on nesting level
+if they contain point.
+
+![A screenshot showing highlight-parentheses.el in action](screenshot.png)
 
 ## Usage
 
@@ -15,11 +26,29 @@ like so:
 (add-hook 'prog-mode-hook #'highlight-parentheses-mode)
 ```
 
-## Screenshot
+There is also the global minor mode `global-highlight-parentheses-mode` which
+enables the mode in every buffer.
 
-See how parens are fontified reddish if they contain point.
+Furthermore, you can enable it also in the minibuffer using the following
+snippet:
 
-![A screenshot showing highlight-parentheses.el in action](screenshot.png)
+```elisp
+(add-hook 'minibuffer-setup-hook #'highlight-parentheses-minibuffer-setup)
+```
+
+## Installation
+
+The package is available from both [NonGNU ELPA](https://elpa.nongnu.org/), and
+[MELPA](https://melpa.org/).  With Emacs 28 (not yet released), NonGNU ELPA is
+enabled by default, so you can just do `M-x package-install RET
+highlight-parentheses RET`.
+
+If you are using `use-package`, you can use the following recipe:
+
+```elisp
+(use-package highlight-parentheses
+  :ensure t)
+```
 
 ## Questions & Patches
 
diff --git a/highlight-parentheses.el b/highlight-parentheses.el
index 34373c2..8e1f421 100644
--- a/highlight-parentheses.el
+++ b/highlight-parentheses.el
@@ -6,7 +6,7 @@
 ;;
 ;; Author: Nikolaj Schumacher <bugs * nschum de>
 ;; Maintainer: Tassilo Horn <tsdh@gnu.org>
-;; Version: 2.0.4
+;; Version: 2.1.0
 ;; Keywords: faces, matching
 ;; URL: https://sr.ht/~tsdh/highlight-parentheses.el/
 ;; Package-Requires: ((emacs "24.3"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]