branch: externals/indent-bars
commit dbf25ecc6ab70ef6ffc6850aaef211b41b37bdb5
Merge: 3e7eced22d e98c838271
Author: JD Smith <93749+jdtsm...@users.noreply.github.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #106 from ArsenArsen/guess-java-ts-mode-spacing
    
    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 b7c8d6b2d1..ae3fda9ede 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