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

    handle yaml-pro-ts-mode
---
 indent-bars.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/indent-bars.el b/indent-bars.el
index 9c9f69cca7..7fa293ae71 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1640,10 +1640,13 @@ Adapted from `highlight-indentation-mode'."
         (symbolp c-ts-common-indent-offset)
         (numberp (symbol-value c-ts-common-indent-offset)))
     (symbol-value c-ts-common-indent-offset))
+   ((and (derived-mode-p 'yaml-pro-mode) (boundp 'yaml-pro-indent)
+        yaml-pro-indent)
+    yaml-pro-indent)
+   ((and (derived-mode-p 'yaml-pro-ts-mode) (boundp 'yaml-pro-ts-indent))
+    yaml-pro-ts-indent)
    ((and (derived-mode-p 'yaml-mode) (boundp 'yaml-indent-offset))
     yaml-indent-offset)
-   ((and (derived-mode-p 'yaml-pro-mode) (boundp 'yaml-pro-indent))
-    yaml-pro-indent)
    ((and (derived-mode-p 'elixir-mode) (boundp 'elixir-smie-indent-basic))
     elixir-smie-indent-basic)
    ((and (derived-mode-p 'lisp-data-mode) (boundp 'lisp-body-indent))

Reply via email to