emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars 3a9ffd9176 142/431: Add cobol-mode support


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 3a9ffd9176 142/431: Add cobol-mode support
Date: Mon, 16 Sep 2024 12:59:22 -0400 (EDT)

branch: externals/indent-bars
commit 3a9ffd917687bca96e981d5d205d9821031f74ce
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]