branch: externals/indent-bars
commit 3a9ffd917687bca96e981d5d205d9821031f74ce
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
Add cobol-mode support
---
indent-bars.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/indent-bars.el b/indent-bars.el
index 139623a4f1..42e44811e4 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1054,7 +1054,10 @@ Adapted from `highlight-indentation-mode'."
elixir-smie-indent-basic)
((and (derived-mode-p 'lisp-data-mode) (boundp 'lisp-body-indent))
lisp-body-indent)
- ((or (derived-mode-p 'go-ts-mode) (derived-mode-p 'go-mode)) tab-width)
+ ((and (derived-mode-p 'cobol-mode) (boundp 'cobol-tab-width))
+ cobol-tab-width)
+ ((or (derived-mode-p 'go-ts-mode) (derived-mode-p 'go-mode))
+ tab-width)
((and (boundp 'standard-indent) standard-indent))
(t 4))) ; backup