branch: externals/indent-bars
commit d962712541ecca195d3e8e702cade18aaad97c96
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
Update-name and relocate delay vars
---
indent-bars-ts.el | 4 ++--
indent-bars.el | 14 +++++++-------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index 479f72f838..0213c23d83 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -100,7 +100,7 @@ is set."
(repeat :tag "Node types" string))
:group 'indent-bars-ts)
-(defcustom indent-bars-ts-update-delay 0.125
+(defcustom indent-bars-treesit-update-delay 0.125
"Idle time in seconds for treesitter scope updates to occur.
This has effect only if `indent-bars-treesit-scope' is non-nil."
:type 'float
@@ -357,7 +357,7 @@ ranges and update. Note that the updated node range clips
to an
"Update treesit scope when possible."
(unless indent-bars-ts--scope-timer
(setq indent-bars-ts--scope-timer
- (run-with-idle-timer indent-bars-ts-update-delay nil
+ (run-with-idle-timer indent-bars-treesit-update-delay nil
#'indent-bars-ts--update-scope1))))
;;;; Setup
diff --git a/indent-bars.el b/indent-bars.el
index 6361792c8a..63adef2b53 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -353,13 +353,6 @@ non-nil, any stipple appearance parameters will be
ignored."
(:zigzag (float :tag "Zig-Zag")))))
:group 'indent-bars)
-(defcustom indent-bars-depth-update-delay 0.075
- "Minimum delay time in seconds between depth highlight updates.
-Has effect only if `indent-bars-highlight-current-depth' is
-non-nil. Set to 0 for instant depth updates."
- :type 'float
- :group 'indent-bars)
-
(defcustom indent-bars-highlight-selection-method 'context
"Method for selecting bar depth for current indentation highlight.
If nil, the last showing bar on the current line is selected for
@@ -373,6 +366,13 @@ last bar showing for highlight."
(const :tag "On Bar" on-bar)
(const :tag "Context" context)))
+(defcustom indent-bars-depth-update-delay 0.075
+ "Minimum delay time in seconds between depth highlight updates.
+Has effect only if `indent-bars-highlight-current-depth' is
+non-nil. Set to 0 for instant depth updates."
+ :type 'float
+ :group 'indent-bars)
+
;;;;; Other
(defcustom indent-bars-display-on-blank-lines t
"Whether to display bars on blank lines."