[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 51f12b7c06 215/431: Correct depth calculati
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 51f12b7c06 215/431: Correct depth calculation (again) |
Date: |
Mon, 16 Sep 2024 12:59:30 -0400 (EDT) |
branch: externals/indent-bars
commit 51f12b7c06fc4b72309d4acf4b67ef3a4f5b50d4
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Correct depth calculation (again)
---
indent-bars.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 45a036aa68..59c3ed0a34 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -773,8 +773,9 @@ inheritance of the plist is handled. If style is the symbol
(defsubst indent-bars--depth (len)
"Number of possible bars for initial blank string of length LEN.
Note that the first bar is expected at `indent-bars-starting-column'."
- (setq len (- len indent-bars--offset))
- (if (>= len indent-bars-spacing) (1+ (/ (1+ len) indent-bars-spacing)) 0))
+ (if (> len indent-bars--offset)
+ (1+ (/ (- len indent-bars--offset 1) indent-bars-spacing))
+ 0))
(defvar indent-bars--update-depth-function nil)
(defun indent-bars--current-indentation-depth (&optional on-bar)
- [elpa] externals/indent-bars 1a88168837 389/431: indent-bars: refine jit-lock and extend region, (continued)
- [elpa] externals/indent-bars 1a88168837 389/431: indent-bars: refine jit-lock and extend region, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 76875aef81 401/431: slightly tweak main bar pattern and blend, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars aade176740 412/431: Merge pull request #52 from brownts/feature/ada-gpr, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars ca71453ad0 407/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars db7d4ba51d 388/431: Protect against custom-set reentry, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 79c21f2999 429/431: Assign copyright to FSF, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9fc2e57d38 420/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 852c12b1fe 430/431: README: mention ELPA, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2d1d854dda 393/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c02ded1991 406/431: Bump version, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 51f12b7c06 215/431: Correct depth calculation (again),
ELPA Syncer <=
- [elpa] externals/indent-bars 29d32e5718 241/431: Make style variables global and move remaps to buffer-local vars, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars fb1a0d6d1a 239/431: Merge pull request #39 from oxcl/main, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 5c06a2d47a 252/431: re-organize requires, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 06c9d7e380 274/431: TS scope update: use idle-timer instead, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 0d684be9eb 290/431: docs: custom vars doc improvmements, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 8787ebc872 300/431: Increase default TS out-of-scope color blend factor to 0.15, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7c8d680619 348/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 29005e1bd0 317/431: Increase default color blend to 0.5, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1a851b6503 345/431: remove ts-teardown hook function on teardown, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c12c740153 346/431: Bump version, ELPA Syncer, 2024/09/16