branch: externals/indent-bars
commit aade176740ccfc631554b52fbff77cee71cdd8af
Merge: a86f8eca12 6f6915dec4
Author: JD Smith <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #52 from brownts/feature/ada-gpr
---
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))