[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hl-block-mode 81c692d654 55/64: Cleanup: define a group wi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hl-block-mode 81c692d654 55/64: Cleanup: define a group with defgroup |
Date: |
Thu, 7 Jul 2022 12:00:10 -0400 (EDT) |
branch: elpa/hl-block-mode
commit 81c692d654332092a95f4c8c0923368e5332c0b5
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: define a group with defgroup
---
hl-block-mode.el | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/hl-block-mode.el b/hl-block-mode.el
index 4801784654..73d0ad8eb3 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -39,32 +39,27 @@
;; ---------------------------------------------------------------------------
;; Custom Variables
+(defgroup hl-block nil "Highlight nested blocks or brackets." :group
'convenience)
+
(defcustom hl-block-bracket ?{
"Characters to use as a starting bracket (defaults to '{').
Set to nil to use all brackets, a list of starting brackets is also supported."
- :group 'hl-block-mode
:type 'symbol)
-(defcustom hl-block-delay 0.2
- "Idle time to wait before highlighting."
- :group 'hl-block-mode
- :type 'float)
+(defcustom hl-block-delay 0.2 "Idle time to wait before highlighting (in
seconds)." :type 'float)
(defcustom hl-block-multi-line nil
"Skip highlighting nested blocks on the same line.
Useful for languages that use S-expressions to avoid overly nested
highlighting."
- :group 'hl-block-mode
:type 'boolean)
(defcustom hl-block-single-level nil
- "Only highlight a single level."
- :group 'hl-block-mode
+ "Only highlight a single level, otherwise highlight all levels."
:type 'boolean)
(defcustom hl-block-style 'color-tint
"Only highlight a single level."
- :group 'hl-block-mode
:type
'
(choice
@@ -74,19 +69,14 @@ Useful for languages that use S-expressions to avoid overly
nested highlighting.
;; For `color-tint' draw style.
(defcustom hl-block-color-tint "#040404"
"Color to add/subtract from the background each scope step."
- :group 'hl-block-mode
:type 'color)
;; For `bracket' draw style.
(defcustom hl-block-bracket-face '(t (:inverse-video t))
"Face used when `hl-block-style' is set to `bracket'."
- :type 'face
- :group 'widget-faces)
+ :type 'face)
-(defcustom hl-block-mode-lighter ""
- "Lighter for option `hl-block-mode'."
- :group 'hl-block-mode
- :type 'string)
+(defcustom hl-block-mode-lighter "" "Lighter for option `hl-block-mode'."
:type 'string)
;; ---------------------------------------------------------------------------
- [nongnu] elpa/hl-block-mode b98c83d8cb 14/64: Add global-hl-block-mode, (continued)
- [nongnu] elpa/hl-block-mode b98c83d8cb 14/64: Add global-hl-block-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 326e026b66 13/64: Use character literal for '{', ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 9f39593c4f 19/64: make hl-bock-mode lighter customizable, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 00914d2938 22/64: Reduce default delay to 200ms, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 74b5a89360 23/64: FIx typo, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 0f1abe46d5 27/64: Apply auto-format, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 59cdbd4d27 39/64: Use "push" instead of add-to-list, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 0ea43d3202 34/64: Cleanup: disable auto-load for internal function, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 27e3ab4195 42/64: Cleanup: minor naming changes, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 59458a4b2b 54/64: Initialize brackets from the syntax table, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 81c692d654 55/64: Cleanup: define a group with defgroup,
ELPA Syncer <=
- [nongnu] elpa/hl-block-mode a165ce51fb 56/64: Fix bracket draw style highlighting point-min/max, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 5f532fef33 12/64: Cleanup: indentation, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 6a8f871d7a 28/64: Add .elisp-autofmt to enable auto-formatting, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode c85c9335f7 07/64: Cleanup: warnings, docs, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 6dc75e71b0 29/64: Fix global-hl-block-mode activating with the minibuffer, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 6c74034246 30/64: Update URL, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 717b4f743c 33/64: Cleanup: use group for hl-block-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 618c0a78ef 53/64: Correct bracket face, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode b2f1c058be 61/64: Cleanup: remove redundant group, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 0593a1a77d 62/64: Cleanup: docstrings, ELPA Syncer, 2022/07/07