[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 0fba69208c 2/8: add custom-set to non-gener
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 0fba69208c 2/8: add custom-set to non-generated -ts custom vars |
Date: |
Thu, 19 Sep 2024 12:58:45 -0400 (EDT) |
branch: externals/indent-bars
commit 0fba69208c1a6184f40623724510bcde005fdb54
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
add custom-set to non-generated -ts custom vars
---
indent-bars-ts.el | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index a1ad2c6768..44bc3b7ade 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -89,7 +89,8 @@ styling. If instead this is set to `in-scope', the
out-of-scope
bars share the default style, and in-scope bars are configured
with alternate styling using the *-ts-* variables."
:type '(choice (const :tag "Out of scope" out-of-scope)
- (const :tag "In scope" in-scope)))
+ (const :tag "In scope" in-scope))
+ :set #'indent-bars--custom-set)
(defun indent-bars-ts--add-customs ()
"Add all the relevant custom variables for the alternate ts style."
@@ -120,7 +121,8 @@ this option."
(alist :tag "Alist of node types"
:key-type (symbol :tag "Language")
:value-type (repeat :tag "Types" (symbol :tag "Type"))))
- :group 'indent-bars-ts)
+ :group 'indent-bars-ts
+ :set #'indent-bars--custom-set)
(defcustom indent-bars-treesit-scope nil
"An alist of language and treesitter node types to emphasize.
@@ -133,12 +135,14 @@ which mirror and inherit from the normal style variables."
(alist :tag "Alist of node types"
:key-type (symbol :tag "Language")
:value-type (repeat :tag "Types" (symbol :tag "Type"))))
- :group 'indent-bars-ts)
+ :group 'indent-bars-ts
+ :set #'indent-bars--custom-set)
(defcustom indent-bars-treesit-scope-min-lines 3
"Minimum number of lines a node must span to be counted as a scope."
:type 'integer
- :group 'indent-bars-ts)
+ :group 'indent-bars-ts
+ :set #'indent-bars--custom-set)
(defcustom indent-bars-treesit-ignore-blank-lines-types nil
"Do not style blank lines when the type of node at start is in this list.
@@ -150,7 +154,8 @@ grammar. Only applicable if
`indent-bars-display-on-blank-lines'
is set."
:type '(choice (const :tag "None" nil)
(repeat :tag "Node types" string))
- :group 'indent-bars-ts)
+ :group 'indent-bars-ts
+ :set #'indent-bars--custom-set)
(defcustom indent-bars-treesit-update-delay 0.125
"Idle time in seconds for treesitter scope updates to occur.
- [elpa] externals/indent-bars updated (8a0c294841 -> 44cef7552e), ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars d0406632e3 1/8: Add quiet/loud treesitter example, ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars bd1b251f9f 5/8: Update examples.md, ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars 0fba69208c 2/8: add custom-set to non-generated -ts custom vars,
ELPA Syncer <=
- [elpa] externals/indent-bars 44cef7552e 8/8: Update examples.md, ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars a455253b51 6/8: examples: add more explanation, ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars cc0ca2630e 3/8: guard against empty stipple pattern string, ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars d9856bd200 4/8: quiet/loud example: louder, ELPA Syncer, 2024/09/19
- [elpa] externals/indent-bars 08c474bfe9 7/8: Update examples.md, ELPA Syncer, 2024/09/19