branch: externals/indent-bars
commit e98c8382714d44a1c27be2c8bd89ba4855b3fc19
Author: Arsen Arsenović <ar...@aarsen.me>
Commit: Arsen Arsenović <ar...@aarsen.me>

    Allow indent-bars--guess-spacing to guess java-ts-mode spacing
---
 indent-bars.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indent-bars.el b/indent-bars.el
index e71f73b1da..8276dc9fc9 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1643,6 +1643,8 @@ Adapted from `highlight-indentation-mode'."
     js-indent-level)
    ((and (derived-mode-p 'sh-base-mode) (boundp 'sh-basic-offset))
     sh-basic-offset)
+   ((and (derived-mode-p 'java-ts-mode) (boundp 'java-ts-mode-indent-offset))
+    java-ts-mode-indent-offset)
    ((and (boundp 'standard-indent) standard-indent))
    (t 4)))                             ; backup
 

Reply via email to