branch: externals/indent-bars
commit 6f6915dec46635d77516ed9200eb9e47fcb143c4
Author: Troy Brown <brow...@troybrown.dev>
Commit: Troy Brown <brow...@troybrown.dev>

    Add Ada and GPR support.
---
 indent-bars.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/indent-bars.el b/indent-bars.el
index 105c292354..5d766b9c41 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1509,6 +1509,14 @@ WIN defaults to the selected window.  To be set as a 
local
 Adapted from `highlight-indentation-mode'."
   (cond
    (indent-bars-spacing-override)
+   ((and (derived-mode-p 'ada-mode) (boundp 'ada-indent))
+    ada-indent)
+   ((and (derived-mode-p 'ada-ts-mode) (boundp 'ada-ts-mode-indent-offset))
+    ada-ts-mode-indent-offset)
+   ((and (derived-mode-p 'gpr-mode) (boundp 'gpr-indent))
+    gpr-indent)
+   ((and (derived-mode-p 'gpr-ts-mode) (boundp 'gpr-ts-mode-indent-offset))
+    gpr-ts-mode-indent-offset)
    ((and (derived-mode-p 'python-mode) (boundp 'py-indent-offset))
     py-indent-offset)
    ((and (derived-mode-p 'python-mode) (boundp 'python-indent-offset))

Reply via email to