branch: externals/indent-bars
commit ceb3dd1e31be3a394df8fe8bec8badea6cc47585
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>

    guess-spacing: add typescript-ts-mode support
---
 indent-bars.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indent-bars.el b/indent-bars.el
index 8e3a68f740..0767f487d0 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1538,6 +1538,8 @@ Adapted from `highlight-indentation-mode'."
     js-indent-level)
    ((and (derived-mode-p 'js2-mode) (boundp 'js2-basic-offset))
     js2-basic-offset)
+   ((and (derived-mode-p 'typescript-ts-mode) (boundp 
'typescript-ts-mode-indent-offset))
+    typescript-ts-mode-indent-offset)
    ((and (derived-mode-p 'sws-mode) (boundp 'sws-tab-width))
     sws-tab-width)
    ((and (derived-mode-p 'web-mode) (boundp 'web-mode-markup-indent-offset))

Reply via email to