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

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

[elpa] externals/indent-bars 6f886f89c4 141/431: Support go-mode in addi


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 6f886f89c4 141/431: Support go-mode in addition to go-ts-mode
Date: Mon, 16 Sep 2024 12:59:22 -0400 (EDT)

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

    Support go-mode in addition to go-ts-mode
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index ae733edad7..139623a4f1 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1054,7 +1054,7 @@ Adapted from `highlight-indentation-mode'."
     elixir-smie-indent-basic)
    ((and (derived-mode-p 'lisp-data-mode) (boundp 'lisp-body-indent))
     lisp-body-indent)
-   ((derived-mode-p 'go-ts-mode) 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]