branch: externals/indent-bars
commit 6868e36bea337a4c2956830b1da27ab9ff9cb6f4
Author: JD Smith <93749+jdtsm...@users.noreply.github.com>
Commit: JD Smith <93749+jdtsm...@users.noreply.github.com>

    Protect against no wrap context node
---
 indent-bars-ts.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index a059caf299..bb75268f85 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -244,7 +244,7 @@ arguments)."
                               node indent-bars-ts--wrap-query nil t)))
                (1+ (indent-bars--depth
                     (indent-bars--indent-at-node ctx)))))))
-      (min dnew d)
+      (if dnew (min dnew d) d)
     d))
 
 ;;;; Ignoring Certain Blank Lines

Reply via email to